index.c
70 KB
-
index_add_all: remove conflicts when no wd file · 9b3e41f7
If there exists a conflict in the index, but no file in the working directory, this implies that the user wants to accept the resolution by removing the file. Thus, remove the conflict entry from the index, instead of trying to add a (nonexistent) file.
Edward Thomson committed