Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (6 sloc) 143 Bytes
#!/bin/sh
if git rev-parse --git-dev >/dev/null 2>&1; then
exec git --no-pager -c color.ui=false grep "$@"
else
exec grep -r "$@" .
fi