diff.c
47.5 KB
-
Only write index if updated when passing GIT_DIFF_UPDATE_INDEX · c2e1b058
When diffing the index with the workdir and GIT_DIFF_UPDATE_INDEX has been passed, the previous implementation was always writing the index to disk even if it wasn't modified.
Pierre-Olivier Latour committed