summaryrefslogtreecommitdiff
path: root/tests/resources/merge-recursive/.gitted/objects/de
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-07-01 13:42:53 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2018-11-05 15:53:33 +0000
commit5b8d5a22e702e4862ebfc56e37d18ca11bfebf02 (patch)
tree5cce9ba92dbed70e6506a040f07d79cb0208a420 /tests/resources/merge-recursive/.gitted/objects/de
parent4ff829e96deadcd0d0a11c5d0f3e989cace0056a (diff)
downloadlibgit2-5b8d5a22e702e4862ebfc56e37d18ca11bfebf02.tar.gz
apply: use preimage as the checkout baseline
Use the preimage as the checkout's baseline. This allows us to support applying patches to files that are modified in the working directory (those that differ from the HEAD and index). Without this, files will be reported as (checkout) conflicts. With this, we expect the on-disk data when we began the patch application (the "preimage") to be on-disk during checkout. We could have also simply used the `FORCE` flag to checkout to accomplish a similar mechanism. However, `FORCE` ignores all differences, while providing a preimage ensures that we will only overwrite the file contents that we actually read. Modify the reader interface to provide the OID to support this.
Diffstat (limited to 'tests/resources/merge-recursive/.gitted/objects/de')
0 files changed, 0 insertions, 0 deletions