Junio C Hamano [EMAIL PROTECTED] writes:
I do not think we have agreed to limit ourselves to a flat
namespace under refs/heads without subdirectories. Something
like what git-show-branches-script does when $# == 0, perhaps?
I didn't realise this. I'll send a revised patch soon.
--
Kalle
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 [EMAIL PROTECTED].
Signed-off-by: Kalle Valo [EMAIL PROTECTED]
---
git-branch-script |8 +++-
1 files changed, 7 insertions(+), 1
Kalle Valo [EMAIL PROTECTED] writes:
If no argument provided to `git branch`, show available branches and
mark current branch with star.
I like the general direction, but this particular implementation
may be a bit troublesome.
+if [ -z $branchname ]; then
+current=$(basename $(readlink
3 matches
Mail list logo