git-checkout: fix branch name output from the command
commit8d78b5af2376be533ed11b53b292bdf0f2e6173b
authorJunio C Hamano <junkio@cox.net>
Mon, 8 Jan 2007 10:44:55 +0000 (8 02:44 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 8 Jan 2007 11:02:11 +0000 (8 03:02 -0800)
treee25e771069784f38b419c07981f6462a520bad61
parentead80606d47ed94aad958ee660f62cde00bb6018
git-checkout: fix branch name output from the command

When switching branches with "git checkout", we internally did $arg^0
(aka $arg^{commit}) suffix but there was no need to.

The improvement is easily visible in the change to an existing
test t/3200-branch.sh in this commit; it was expecting rather
ugly message.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh
t/t3200-branch.sh