diff options
author | Christian Dywan <christian.dywan@lanedo.com> | 2011-05-18 16:37:05 +0200 |
---|---|---|
committer | Christian Dywan <christian.dywan@lanedo.com> | 2011-05-18 16:39:22 +0200 |
commit | 0ffc0016e13187b556aff2039acaf1b3cc08a68e (patch) | |
tree | 1b1a011b1670ca69cea63afbfd8ba61b90cb3d6e /g | |
parent | 8e9913764486a95a1b3940af404bdd9edc787cff (diff) |
Don't print === decoration when running g grep
Otherwise g grep -l can't be used, for example with sed.
Diffstat (limited to 'g')
-rwxr-xr-x | g | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |