From: Rudolf Polzer Date: Wed, 13 Oct 2010 09:47:59 +0000 (+0200) Subject: don't need the rev-parse output either X-Git-Tag: xonotic-v0.1.0preview~127 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6b0de8c456863aca88add79d8aed8221e4652322;p=xonotic%2Fxonotic.git don't need the rev-parse output either --- diff --git a/all b/all index c66ff713..d8322274 100755 --- 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 ;;