Code

show-branch -g: default to the current branch.
authorJunio C Hamano <junkio@cox.net>
Sun, 4 Feb 2007 07:31:47 +0000 (23:31 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Feb 2007 07:34:22 +0000 (23:34 -0800)
commit632ac9fd12a2d4ff2c1a1fcd63492ce24315221f
tree54f5a53cc156c661fdf5202a4419fbc97cab8f3d
parentdc9195ac7830bdf08ee847ef6a385c0b8f673d69
show-branch -g: default to the current branch.

Now we have a separate reflog on HEAD, show-branch -g without an explicit
parameter defaults to the current branch, or HEAD when it is detached
from branches.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-show-branch.txt
builtin-show-branch.c