author | Junio C Hamano <gitster@pobox.com> | |
Fri, 17 Oct 2008 06:37:44 +0000 (23:37 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 17 Oct 2008 21:35:06 +0000 (14:35 -0700) | ||
commit | 51a94af845cb3f797abd638478834721d7295af7 | |
tree | 3572e5e0f3b87faabfe998a5c953858757a1328e | tree | snapshot |
parent | 8ed0a740dd42bd0724aebed6e3b07c4ea2a2d5e8 | commit | diff |
Fix "checkout --track -b newbranch" on detached HEAD
The test to make sure that checkout fails when --track was asked for and
we cannot set up tracking information in t7201 was wrong, and it turns out
that the implementation for that feature itself was buggy. This fixes it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The test to make sure that checkout fails when --track was asked for and
we cannot set up tracking information in t7201 was wrong, and it turns out
that the implementation for that feature itself was buggy. This fixes it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c | diff | blob | history | |
t/t7201-co.sh | diff | blob | history |