| commit | 6301f303d436f226b705380ab97c7c0122374241 | [log] [tgz] |
|---|---|---|
| author | Junio C Hamano <gitster@pobox.com> | Sun Mar 30 17:28:05 2008 -0700 |
| committer | Junio C Hamano <gitster@pobox.com> | Sun Mar 30 22:22:09 2008 -0700 |
| tree | eaf1e8172cd5571e7426d8488fe8f0afe9228c2f | |
| parent | c20711d29dff054735988c84ad5fe4f382d064cf [diff] |
Add corner case tests for diff-index and diff-files diff-index and diff-files can get confused in corner cases when an indexed blob turns into something else in the work tree. This patch adds tests to expose such breakages. The test is classified under t2XXX series instead of t4XXX series, because the ultimate objective is to fix "add -u" (and "commit -a" that shares the same issue). Signed-off-by: Junio C Hamano <gitster@pobox.com>