diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-04 19:01:57 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-05 15:53:59 +0000 |
commit | bd682f3ee4bc6593470d65f69a0e734fd0ae88eb (patch) | |
tree | 807b9e3a7866be28acd4a66f59dd33981093331d /src/commit.c | |
parent | a3c1070c6e9f021f1fbd651bb273caaeefa726e2 (diff) | |
download | libgit2-bd682f3ee4bc6593470d65f69a0e734fd0ae88eb.tar.gz |
apply: test that we can't rename a file after modifying it
Multiple deltas can exist in a diff, and can be applied in-order.
However if there exists a delta that renames a file, it must be first,
so that other deltas can reference the resulting target file.
git enforces this (`error: already exists in index`), so ensure that we
do, too.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions