[PATCH] diff-cache buglet
[gitweb.git] / diff-cache.c
index 2ec6c29ab6b79a10277a2ff9021a2032d656abf0..c7fa84bffb07504890259fca1b05bd499847e1fe 100644 (file)
@@ -76,7 +76,7 @@ static void remove_merge_entries(void)
        for (i = 0; i < active_nr; i++) {
                struct cache_entry *ce = active_cache[i];
                if (!ce_stage(ce))
-                       break;
+                       continue;
                printf("%s: unmerged\n", ce->name);
                while (remove_entry_at(i)) {
                        if (!ce_stage(active_cache[i]))