Commit 49d833d
committed
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 <[email protected]>1 parent 83ae209 commit 49d833d
2 files changed
+29
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | 371 | | |
373 | 372 | | |
374 | 373 | | |
375 | 374 | | |
376 | | - | |
377 | 375 | | |
378 | 376 | | |
379 | 377 | | |
380 | 378 | | |
381 | | - | |
382 | 379 | | |
383 | 380 | | |
384 | 381 | | |
| |||
414 | 411 | | |
415 | 412 | | |
416 | 413 | | |
417 | | - | |
418 | | - | |
419 | | - | |
| 414 | + | |
420 | 415 | | |
421 | 416 | | |
422 | 417 | | |
| |||
460 | 455 | | |
461 | 456 | | |
462 | 457 | | |
463 | | - | |
464 | | - | |
465 | 458 | | |
466 | 459 | | |
467 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments