author | Kalle Valo <Kalle.Valo@iki.fi> | |
Tue, 16 Aug 2005 17:58:10 +0000 (20:58 +0300) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 17 Aug 2005 19:11:36 +0000 (12:11 -0700) | ||
commit | e4aec26f8068100ae7b496b904d013943626d8c2 | |
tree | 5ab5ddc5dd37f4aff665cd9eb9016b75eed8d484 | tree | snapshot |
parent | 22cff6a5abef29ce74da3e57ba3488d77686fec8 | commit | diff |
[PATCH] Change git-branch to list branches
If no argument provided to `git branch`, show available branches and
mark current branch with star.
This is based on patch written by Amos Waterland <apw@rossby.metr.ou.edu>.
[jc: and I changed it to handle subdirectories under refs/heads/ as well.]
Signed-off-by: Kalle Valo <Kalle.Valo@iki.fi>
Signed-off-by: Junio C Hamano <junkio@cox.net>
If no argument provided to `git branch`, show available branches and
mark current branch with star.
This is based on patch written by Amos Waterland <apw@rossby.metr.ou.edu>.
[jc: and I changed it to handle subdirectories under refs/heads/ as well.]
Signed-off-by: Kalle Valo <Kalle.Valo@iki.fi>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-branch-script | diff | blob | history |