summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-11-04 19:01:57 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2018-11-05 15:53:59 +0000
commitbd682f3ee4bc6593470d65f69a0e734fd0ae88eb (patch)
tree807b9e3a7866be28acd4a66f59dd33981093331d /src/commit.c
parenta3c1070c6e9f021f1fbd651bb273caaeefa726e2 (diff)
downloadlibgit2-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