Make ./all clean --reclone work with gmqcc repo. master
authorRudolf Polzer <divVerent@gmail.com>
Sat, 4 Feb 2023 14:27:14 +0000 (09:27 -0500)
committerRudolf Polzer <divVerent@gmail.com>
Sat, 4 Feb 2023 14:27:14 +0000 (09:27 -0500)
misc/tools/all/git.subr

index 7d819456f3740c9de03404058bf97cf6e1691f07..88aefa28e799ce9098d7beba4344889582d8072f 100644 (file)
@@ -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" "$@"