author | Junio C Hamano <gitster@pobox.com> | |
Mon, 31 Mar 2008 00:28:05 +0000 (17:28 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 31 Mar 2008 05:22:09 +0000 (22:22 -0700) | ||
commit | 6301f303d436f226b705380ab97c7c0122374241 | |
tree | eaf1e8172cd5571e7426d8488fe8f0afe9228c2f | tree | snapshot |
parent | c20711d29dff054735988c84ad5fe4f382d064cf | commit | 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>
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>
t/t2201-add-update-typechange.sh | [new file with mode: 0755] | blob |