fmt-patch: Support --attach
[git.git] / git-branch.sh
index ebcc898..134e68c 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