]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
don't need the rev-parse output either
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 13 Oct 2010 09:47:59 +0000 (11:47 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 13 Oct 2010 09:47:59 +0000 (11:47 +0200)
all

diff --git a/all b/all
index c66ff713c5b1143cdb49b17ee6f1eba97bd56215..d83222742c2cb0d5151240aa2fe5f5b0f4b2cf3a 100755 (executable)
--- a/all
+++ b/all
@@ -1075,8 +1075,8 @@ case "$cmd" in
                                                verbose git branch -D "${B#refs/heads/}"
                                        fi
                                done
-                               git rev-parse refs/heads/master 2>/dev/null || verbose git branch -t master origin/master || true
-                               git rev-parse "refs/heads/`repobranch "$d"`" 2>/dev/null || verbose git branch -t "`repobranch "$d"`" origin/"`repobranch "$d"`" || true
+                               git rev-parse refs/heads/master >/dev/null 2>&1 || verbose git branch -t master origin/master || true
+                               git rev-parse "refs/heads/`repobranch "$d"`" >/dev/null 2>&1 || verbose git branch -t "`repobranch "$d"`" origin/"`repobranch "$d"`" || true
                        fi
                done
                ;;