Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2007-05-20 21:26:37 +0400
committerJunio C Hamano <junkio@cox.net>2007-05-21 01:40:41 +0400
commit0a76f6652459e4bbf5311347e9bf726e203e86d6 (patch)
treeaf12d1e151ad65ea4bee2467289708753da0da82 /unpack-trees.c
parent1472966c04103874096fb786657459ea6628e451 (diff)
unpack-trees.c: verify_uptodate: remove dead code
This code was killed by commit fcc387db9bc453dc7e07a262873481af2ee9e5c8. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'unpack-trees.c')
-rw-r--r--unpack-trees.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/unpack-trees.c b/unpack-trees.c
index ee10eea24c..6d1f0d13a3 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -452,10 +452,6 @@ static void verify_uptodate(struct cache_entry *ce,
return;
errno = 0;
}
- if (o->reset) {
- ce->ce_flags |= htons(CE_UPDATE);
- return;
- }
if (errno == ENOENT)
return;
die("Entry '%s' not uptodate. Cannot merge.", ce->name);