Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs outside refs/{heads,tags} match less strongly.
[gitweb.git]
/
builtin-mv.c
diff --git
a/builtin-mv.c
b/builtin-mv.c
index 4d21d88412cac52cbd5d127de439abc3e172b352..54dd3bfe8ac787fda32f3557faac00c65a61de96 100644
(file)
--- a/
builtin-mv.c
+++ b/
builtin-mv.c
@@
-278,6
+278,7
@@
int cmd_mv(int argc, const char **argv, const char *prefix)
for (i = 0; i < deleted.nr; i++) {
const char *path = deleted.items[i].path;
remove_file_from_cache(path);
+ cache_tree_invalidate_path(active_cache_tree, path);
}
if (active_cache_changed) {