]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
gitattributes: clean up .map files on commit
[xonotic/xonotic.git] / all
diff --git a/all b/all
index e9ac3d3c5fc15899411a5d734ff013d079cdfd92..d83222742c2cb0d5151240aa2fe5f5b0f4b2cf3a 100755 (executable)
--- a/all
+++ b/all
@@ -341,7 +341,7 @@ case "$cmd" in
                        pushurl=`repopushurl "$d"`
                        branch=`repobranch "$d"`
                        if [ -d "$d0/$d" ]; then
-                               enter "$d0/$d" verbose
+                               verbose cd "$d0/$d"
                                fix_git_config "$url" "$pushurl"
                                cd "$d0"
                        fi
@@ -1075,6 +1075,8 @@ 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 -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
                ;;