summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-07-01 21:35:51 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2018-11-05 15:53:34 +0000
commit2d27ddc02e22a3cffbfafcb42e6eac04baf7256f (patch)
tree0f1951d5e429e070cb5ccd83fedfd49a2d2def66 /include/git2
parenteb76e985899b514401d4408858834da4a2a09912 (diff)
downloadlibgit2-2d27ddc02e22a3cffbfafcb42e6eac04baf7256f.tar.gz
apply: use an indexwriter
Place the entire `git_apply` operation inside an indexwriter, so that we lock the index before we begin performing patch application. This ensures that there are no other processes modifying things in the working directory.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions