apply.c
17.1 KB
-
apply: use an indexwriter · 2d27ddc0
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.
Edward Thomson committed