diff options
-rw-r--r-- | read-tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/read-tree.c b/read-tree.c index 66c0120f13..067fb95e9d 100644 --- a/read-tree.c +++ b/read-tree.c @@ -446,6 +446,8 @@ static int merged_entry(struct cache_entry *merge, struct cache_entry *old) invalidate_ce_path(old); } } + else + invalidate_ce_path(merge); merge->ce_flags &= ~htons(CE_STAGEMASK); add_cache_entry(merge, ADD_CACHE_OK_TO_ADD); return 1; |