[PATCH] Change git-branch to list branches
commite4aec26f8068100ae7b496b904d013943626d8c2
authorKalle Valo <Kalle.Valo@iki.fi>
Tue, 16 Aug 2005 17:58:10 +0000 (16 20:58 +0300)
committerJunio C Hamano <junkio@cox.net>
Wed, 17 Aug 2005 19:11:36 +0000 (17 12:11 -0700)
tree5ab5ddc5dd37f4aff665cd9eb9016b75eed8d484
parent22cff6a5abef29ce74da3e57ba3488d77686fec8
[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>
git-branch-script