[Libreoffice-commits] .: bin/g
Jan Holesovsky
kendy at kemper.freedesktop.org
Fri Oct 8 05:45:37 PDT 2010
bin/g | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
New commits:
commit 025cbf61d5c6644258c797aac1184171fa5ded85
Author: Jan Holesovsky <kendy at suse.cz>
Date: Fri Oct 8 14:44:51 2010 +0200
Force PUSH_ALL in all the cases when g push gets a parameter.
diff --git a/bin/g b/bin/g
index 29fa2a4..2fca333 100755
--- a/bin/g
+++ b/bin/g
@@ -38,6 +38,7 @@ case "$COMMAND" in
RELATIVIZE=0
;;
diff)
+ PAGER='--no-pager'
REPORT_REPOS=0
;;
log)
@@ -48,8 +49,10 @@ case "$COMMAND" in
fi
PAGER='--no-pager'
;;
- diff)
- PAGER='--no-pager'
+ push)
+ if [ "$#" != "1" ] ; then
+ PUSH_ALL=1
+ fi
;;
esac
@@ -73,8 +76,6 @@ while shift ; do
FILES[$FILESNUM]="$1"
FILESNUM=$(($FILESNUM+1))
else
- [ "$COMMAND" = "push" -a "$PARAM" = "--tags" ] && PUSH_ALL=1
-
FILES[$FILESNUM]="$PARAM"
FILESNUM=$(($FILESNUM+1))
fi
More information about the Libreoffice-commits
mailing list