##// END OF EJS Templates
diff: better detection of renames when comparing with the working dir.
diff: better detection of renames when comparing with the working dir.

File last commit:

r3589:1c9b6f12 default
r3696:562a6563 default
Show More
test-git-import.out
39 lines | 454 B | text/plain | TextLexer
/ tests / test-git-import.out
Brendan Cully
Tests for git import
r2864 % new file
applying patch from stdin
Brendan Cully
test for git empty new files
r3589 % new empty file
applying patch from stdin
empty
Brendan Cully
Tests for git import
r2864 % chmod +x
applying patch from stdin
% copy
applying patch from stdin
a
a
% rename
applying patch from stdin
copyx
Brendan Cully
test for git empty new files
r3589 empty
Brendan Cully
Tests for git import
r2864 new
rename
% delete
applying patch from stdin
Brendan Cully
test for git empty new files
r3589 empty
Brendan Cully
Tests for git import
r2864 new
rename
% regular diff
applying patch from stdin
% copy and modify
applying patch from stdin
a
a
b
a
a
% rename and modify
applying patch from stdin
copy2: No such file or directory
a
a
b
c
a