[Libreoffice-commits] .: g

Christian Dywan cdywan at kemper.freedesktop.org
Wed May 18 07:40:39 PDT 2011


 g |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dfdee63ca51fe2241c92b1c457222188eeec74c8
Author: Christian Dywan <christian.dywan at lanedo.com>
Date:   Wed May 18 16:37:05 2011 +0200

    Don't print === decoration when running g grep
    
    Otherwise g grep -l can't be used, for example with sed.

diff --git a/g b/g
index 410d86d..bf92754 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


More information about the Libreoffice-commits mailing list