mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-31 02:32:16 +00:00
don't need the rev-parse output either
This commit is contained in:
parent
93444cba48
commit
6b0de8c456
4
all
4
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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user