tests/test-git-import.out
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 20 Nov 2006 19:32:45 -0200
changeset 3701 05c8704a3743
parent 3589 1c9b6f1237e0
child 3716 ab5600428b08
permissions -rw-r--r--
handle git patches that rename a file to more than one destination

% new file
applying patch from stdin
% new empty file
applying patch from stdin
empty
% chmod +x
applying patch from stdin
% copy
applying patch from stdin
a
a
% rename
applying patch from stdin
copyx
empty
new
rename
% delete
applying patch from stdin
empty
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
% one file renamed multiple times
applying patch from stdin
9 rename2 rename3 rename3-2 / rename3 (rename2)rename3-2 (rename2)
rename2: No such file or directory
rename3
rename3-2
a
a
b
c
a

a
a
b
c
a