Commit 2d27ddc02e22a3cffbfafcb42e6eac04baf7256f

Edward Thomson 2018-07-01T21:35:51

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.