Revert "builtin-grep: workaround for non GNU grep."
[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