author | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Dec 2005 20:47:18 +0000 (12:47 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Dec 2005 22:16:19 +0000 (14:16 -0800) | ||
commit | bb5ebed731378f9ebec9bcd438aa69e086d73359 | |
tree | ebcaf1f0fcb2842380bd08600c280950264f6bd4 | tree | snapshot |
parent | c5ced64578a82b9d172aceb2f67c6fb9e639f6d9 | commit | diff |
show-branch: usability updates.
This does three things:
. It simplifies the logic to handle the case in which no
refs are given on the command line, and fixes the bug
when only "--heads" is specified. Earlier we showed
them twice.
. It avoids to add the same ref twice.
. It sorts the glob result (e.g. "git show-branch
'tags/v1.0*'") according to a more version friendly
sort order.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This does three things:
. It simplifies the logic to handle the case in which no
refs are given on the command line, and fixes the bug
when only "--heads" is specified. Earlier we showed
them twice.
. It avoids to add the same ref twice.
. It sorts the glob result (e.g. "git show-branch
'tags/v1.0*'") according to a more version friendly
sort order.
Signed-off-by: Junio C Hamano <junkio@cox.net>
show-branch.c | diff | blob | history |