summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xg2
1 files changed, 1 insertions, 1 deletions
diff --git a/g b/g
index 410d86d4c522..bf9275462c7f 100755
--- a/g
+++ b/g
@@ -237,7 +237,7 @@ for REPO in $DIRS ; do
# do it!
if [ "$COMMAND" != "clone" -o ! -d $DIR ] ; then
- if [ "$REPORT_REPOS" = "1" ] ; then
+ if [ "$REPORT_REPOS" = "1" -a "$COMMAND" != "grep" ] ; then
if [ "$REPORT_COMPACT" = "1" ] ; then
echo -n "${REPO}:"
else