From: Rudolf Polzer Date: Fri, 16 Apr 2010 17:36:41 +0000 (+0200) Subject: fix a minor bug in ./all push X-Git-Tag: xonotic-v0.1.0preview~496 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=0f21e25d2b09eecdac0817d9a82131304c36f67c fix a minor bug in ./all push --- diff --git a/all b/all index bf6dfb98..e4316a0c 100755 --- a/all +++ b/all @@ -312,14 +312,15 @@ case "$cmd" in verbose git commit -a fi fi - if git log "origin/$r".."$r" | grep .; then + rem=`git config "branch.$r.remote" || echo origin` + if git log "$rem/$r".."$r" | grep .; then a= while [ x"$a" != x"y" -a x"$a" != x"n" ]; do echo "Push \"$r\" in $dv?" read -r a done if [ x"$a" = x"y" ]; then - verbose git push `git config "branch.$r.remote" || echo origin` HEAD + verbose git push "$rem" HEAD fi fi cd "$d0"