]> git.scripts.mit.edu Git - git.git/commit
Fix branch -m @{-1} newname
authorJunio C Hamano <gitster@pobox.com>
Sat, 21 Mar 2009 20:23:27 +0000 (13:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2009 06:52:11 +0000 (23:52 -0700)
commit03d3aada5a2a68a7acdb6286fd72155f01626e41
treec6004aad880990bc7ec00057b24849097ac45ecf
parenta31dca0393fefae894b7a155ae24000107bcc383
Fix branch -m @{-1} newname

The command is supposed to rename the branch we were on before switched
from to a new name, but was not aware of the short-hand notation we added
recently.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c