summaryrefslogtreecommitdiff
path: root/builtin-rm.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-20 01:55:25 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-20 01:55:25 -0700
commit7f2d5cb53185e4734d37a7789f3870bd81963cf3 (patch)
treee07b6d60f23d9216bc6f056c719614d295dba679 /builtin-rm.c
parentMerge branch 'jc/tartree' into next (diff)
parentMerge branch 'lt/dirwalk' into jc/dirwalk-n-cache-tree (diff)
downloadtgif-7f2d5cb53185e4734d37a7789f3870bd81963cf3.tar.xz
Merge branch 'jc/dirwalk-n-cache-tree' into next
* jc/dirwalk-n-cache-tree: Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-rm.c')
-rw-r--r--builtin-rm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-rm.c b/builtin-rm.c
index 9014c61556..0beb86dc3d 100644
--- a/builtin-rm.c
+++ b/builtin-rm.c
@@ -117,6 +117,7 @@ int cmd_rm(int argc, const char **argv, char **envp)
if (remove_file_from_cache(path))
die("git rm: unable to remove %s", path);
+ cache_tree_invalidate_path(active_cache_tree, path);
}
/*