Commit c2e1b0581ada8453447bdeaacca92d972d83b1a8

Pierre-Olivier Latour 2015-06-05T18:26:49

Only write index if updated when passing GIT_DIFF_UPDATE_INDEX 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.