[Libreoffice-commits] .: bin/g

Miklos Vajna vmiklos at kemper.freedesktop.org
Thu Nov 11 04:11:31 PST 2010


 bin/g |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 5f367df3f98dc8242849499c41e59c8877acdc9f
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Thu Nov 11 11:06:22 2010 +0100

    bin/g: make clone work without a parameter

diff --git a/bin/g b/bin/g
index 347522d..3828ea6 100755
--- a/bin/g
+++ b/bin/g
@@ -176,6 +176,11 @@ for DIR in $DIRS ; do
                         [ -z "`git diff-index --name-only HEAD --`" ] && exit 0
                     fi
                     ;;
+                clone)
+                    if [ -z "$FILES" ]; then
+                        EXTRA="$(git config remote.origin.url|sed 's|/[^/]\+$||')/${DIR}"
+                    fi
+                    ;;
             esac
 
             [ "$REPORT_REPOS" = "1" ] && echo "===== $DIR ====="


More information about the Libreoffice-commits mailing list