author | Junio C Hamano <junkio@cox.net> | |
Mon, 8 Jan 2007 10:44:55 +0000 (02:44 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 8 Jan 2007 11:02:11 +0000 (03:02 -0800) | ||
commit | 8d78b5af2376be533ed11b53b292bdf0f2e6173b | |
tree | e25e771069784f38b419c07981f6462a520bad61 | tree | snapshot |
parent | ead80606d47ed94aad958ee660f62cde00bb6018 | commit | diff |
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>
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 | diff | blob | history | |
t/t3200-branch.sh | diff | blob | history |