We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eecc53e commit 2b7d0acCopy full SHA for 2b7d0ac
g
@@ -8,7 +8,7 @@ if [ ! -z "$f" ]; then
8
shift
9
fi
10
11
-if [ -n "$F_USE_GREPR" ] || !hg root 2>/dev/null; then
+if [ -n "$F_USE_GREPR" ] || ! hg root >/dev/null 2>/dev/null; then
12
grep --color $f -ir -- "$g" *
13
else
14
hg files -0 | xargs -0 grep -i --color $f -- "$g"
0 commit comments