]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
Show "(no_branch)" instead of "(no" in the output of the command branches (for exampl...
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 4fa99d1a077780f15354c85b592947fa599e3a28..4d82729188a989b3f83f0411e4655351e6332d4f 100755 (executable)
--- a/all
+++ b/all
@@ -319,7 +319,7 @@ case "$cmd" in
        branches)
                for d in $repos; do
                        cd "$d0/$d" # am in a pipe, shouldn't use enter
-                       git branch -a -v -v | cut -c 3- | sed "s,^,$d ,"
+                       git branch -a -v -v | cut -c 3- | sed "s/^(no branch)/(no_branch)/" | sed "s,^,$d ,"
                        cd "$d0"
                done | {
                        branches_list=