summaryrefslogtreecommitdiff
path: root/git-cherry
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-07-22 19:08:47 -0700
committerLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-22 20:34:16 -0700
commita38e727925bfad369fc98165f6ff161193397f28 (patch)
treeb24f30818110c5370d58add1200601969fca88cb /git-cherry
parent[PATCH] Help scripts that use git-rev-parse to grok args with SP/TAB/LF (diff)
downloadtgif-a38e727925bfad369fc98165f6ff161193397f28.tar.xz
[PATCH] git-branch: avoid getting confused by empty or nonexisting branches.
When not specifying the start point explicitly, we ended up emitting ^0 in addition to the default HEAD. Be careful to see if we have "$2" before finding out which commit to base the new branch on. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-cherry')
0 files changed, 0 insertions, 0 deletions