author | Johannes Sixt <johannes.sixt@telecom.at> | |
Mon, 31 Mar 2008 07:14:14 +0000 (09:14 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 31 Mar 2008 08:03:05 +0000 (01:03 -0700) | ||
commit | 90356287e65181caeaa821d7476b8865d26bc588 | |
tree | 5e53e6a2bda14c47122aadf75938f901cb631f26 | tree | snapshot |
parent | 803d5158123346229d71de53818920efbc88ca0f | commit | diff |
filter-branch: Test renaming directories in a tree-filter
This test currently fails.
If b is a directory then 'mv a b' is not a plain "rename", but really a
"move", so we must also test that the directory does not exist with the
old name in the directory with the new name.
There's also some cleanup in the corresponding "rename file" test to avoid
spurious shell syntax errors and "ambigous ref" error from 'git show' (but
these should show up only if the test would fail anyway). Plus we also
test for the non-existence of the old file.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This test currently fails.
If b is a directory then 'mv a b' is not a plain "rename", but really a
"move", so we must also test that the directory does not exist with the
old name in the directory with the new name.
There's also some cleanup in the corresponding "rename file" test to avoid
spurious shell syntax errors and "ambigous ref" error from 'git show' (but
these should show up only if the test would fail anyway). Plus we also
test for the non-existence of the old file.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
t/t7003-filter-branch.sh | diff | blob | history |