summaryrefslogtreecommitdiff
path: root/git-branch.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-15 23:43:23 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-15 23:43:23 -0700
commit3aece89fa24ff38afc9f5a30bc4f8f15e91f4cd7 (patch)
treef0b8ac7481d6a6621ec0334cba6943db2a417e39 /git-branch.sh
parentMerge branch 'se/diff' (diff)
parentAdd "--branches", "--tags" and "--remotes" options to git-rev-parse. (diff)
downloadtgif-3aece89fa24ff38afc9f5a30bc4f8f15e91f4cd7.tar.xz
Merge branch 'se/rev-parse'
* se/rev-parse: Add "--branches", "--tags" and "--remotes" options to git-rev-parse.
Diffstat (limited to 'git-branch.sh')
-rwxr-xr-xgit-branch.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/git-branch.sh b/git-branch.sh
index ebcc8989d8..134e68cf7f 100755
--- a/git-branch.sh
+++ b/git-branch.sh
@@ -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