diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-15 23:43:23 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-15 23:43:23 -0700 |
commit | 3aece89fa24ff38afc9f5a30bc4f8f15e91f4cd7 (patch) | |
tree | f0b8ac7481d6a6621ec0334cba6943db2a417e39 /git-branch.sh | |
parent | Merge branch 'se/diff' (diff) | |
parent | Add "--branches", "--tags" and "--remotes" options to git-rev-parse. (diff) | |
download | tgif-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-x | git-branch.sh | 3 |
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 |