author | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 May 2009 16:41:28 +0000 (09:41 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 May 2009 16:57:21 +0000 (09:57 -0700) | ||
commit | 49d833dc07f28bf67119c4060044fc829a7e044f | |
tree | bf786d2235a8cdcf3c806f856832f56f4a65f96a | tree | snapshot |
parent | 83ae209bf9708bf1b67dbac4a3629a0003af5dbb | commit | diff |
Revert "checkout branch: prime cache-tree fully"
The logic in 83ae209 (checkout branch: prime cache-tree fully,
2009-04-20) is bogus; checkout can switch branches with a dirty
index and in such a case the tree won't match HEAD.
Add t2014-switch to catch this breakage.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The logic in 83ae209 (checkout branch: prime cache-tree fully,
2009-04-20) is bogus; checkout can switch branches with a dirty
index and in such a case the tree won't match HEAD.
Add t2014-switch to catch this breakage.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c | diff | blob | history | |
t/t2014-switch.sh | [new file with mode: 0755] | blob |