[Libreoffice-commits] .: g

Jan Holesovsky kendy at kemper.freedesktop.org
Fri Dec 3 03:36:50 PST 2010


 g |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit f927229159fb2b0a4d34204b57f5b05c2789273a
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Fri Dec 3 12:35:23 2010 +0100

    g: Configure git's push.default to tracking if it is not set.

diff --git a/g b/g
index 77f6957..191daf7 100755
--- a/g
+++ b/g
@@ -31,6 +31,9 @@ function update_hooks()
             ln -s "$HOOKDIR/$H" "$HOOK"
         fi
     done
+    if [ -z "$(git config push.default)" ] ; then
+        git config push.default tracking
+    fi
 }
 
 # extra params for some commands, like log


More information about the Libreoffice-commits mailing list