summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a84faf7)
raw | patch | inline | side by side (parent: a84faf7)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 3 May 2006 23:07:02 +0000 (16:07 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 3 May 2006 23:07:02 +0000 (16:07 -0700) |
When doing two-way merge, we failed to invalidate the directory
that a new entry is added (we correctly did so for modified and
deleted entries).
Signed-off-by: Junio C Hamano <junkio@cox.net>
that a new entry is added (we correctly did so for modified and
deleted entries).
Signed-off-by: Junio C Hamano <junkio@cox.net>
read-tree.c | patch | blob | history |
diff --git a/read-tree.c b/read-tree.c
index 66c0120f1352f8edf6ea1afcd037c96b373273a8..067fb95e9d552789e68e087abd9b5cf855690ceb 100644 (file)
--- a/read-tree.c
+++ b/read-tree.c
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;