Merge branch 'jc/dirwalk-n-cache-tree' into jc/cache-tree
[gitweb.git] / git-branch.sh
index ebcc8989d8cfd9d64f0e4cacd0a0ff76f50d1345..134e68cf7f0389d73af000c4303c4dda27f89d57 100755 (executable)
@@ -82,8 +82,7 @@ done
 
 case "$#" in
 0)
-       git-rev-parse --symbolic --all |
-       sed -ne 's|^refs/heads/||p' |
+       git-rev-parse --symbolic --branches |
        sort |
        while read ref
        do