Merge branch 'maint'
[gitweb.git] / builtin-add.c
index 3d8b8b4f89514e0a8f7af1c2c7dc2f8ae372129e..0d7d0ce4209114245ca07842d7d5a4546e5b6cfd 100644 (file)
@@ -103,7 +103,6 @@ static void update_callback(struct diff_queue_struct *q,
                        break;
                case DIFF_STATUS_DELETED:
                        remove_file_from_cache(path);
-                       cache_tree_invalidate_path(active_cache_tree, path);
                        if (verbose)
                                printf("remove '%s'\n", path);
                        break;