From: Rudolf Polzer Date: Sat, 4 Feb 2023 14:27:14 +0000 (-0500) Subject: Make ./all clean --reclone work with gmqcc repo. X-Git-Tag: xonotic-v0.8.6~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e35eb5b3d5d4487b882d754b8ef74f0c6a186145;p=xonotic%2Fxonotic.git Make ./all clean --reclone work with gmqcc repo. --- diff --git a/misc/tools/all/git.subr b/misc/tools/all/git.subr index 7d819456..88aefa28 100644 --- a/misc/tools/all/git.subr +++ b/misc/tools/all/git.subr @@ -962,7 +962,6 @@ case "$cmd" in verbose git branch -D "${B#refs/heads/}" fi done - git rev-parse refs/heads/master >/dev/null 2>&1 || verbose git branch --track master origin/master || true git rev-parse "refs/heads/$branch" >/dev/null 2>&1 || verbose git branch --track "$branch" origin/"$branch" || true fi checkself "$cmd" "$@"