hash-object: cleanup handling of command line options
[gitweb.git] / builtin-read-tree.c
index 57854017535a36fc1fcd7bb997f198956391199d..726fb0b588dcb550b5554b111a416c7ac3b25521 100644 (file)
@@ -45,7 +45,7 @@ static int read_cache_unmerged(void)
                                continue;
                        cache_tree_invalidate_path(active_cache_tree, ce->name);
                        last = ce;
-                       ce->ce_flags |= CE_REMOVE;
+                       continue;
                }
                *dst++ = ce;
        }