]> git.ipfire.org Git - thirdparty/git.git/blobdiff - resolve-undo.c
resolve-undo: be specific what part of the index has changed
[thirdparty/git.git] / resolve-undo.c
index e9dff57824577c09e5b6edbfe429bcbb1e7d3421..468a2eb92c6d72c519faf5c8203d3d41d520c12d 100644 (file)
@@ -110,7 +110,7 @@ void resolve_undo_clear_index(struct index_state *istate)
        string_list_clear(resolve_undo, 1);
        free(resolve_undo);
        istate->resolve_undo = NULL;
-       istate->cache_changed = SOMETHING_CHANGED;
+       istate->cache_changed |= RESOLVE_UNDO_CHANGED;
 }
 
 int unmerge_index_entry_at(struct index_state *istate, int pos)