Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/diff-m-doc' into maint
[gitweb.git]
/
unpack-trees.c
diff --git
a/unpack-trees.c
b/unpack-trees.c
index 75f54cac97f62ddaad736c2cd582cc6cdeaaebfa..1a8030ced0b7923d44d6b891133458e98ce969c7 100644
(file)
--- a/
unpack-trees.c
+++ b/
unpack-trees.c
@@
-862,7
+862,7
@@
static int verify_uptodate_1(struct cache_entry *ce,
{
struct stat st;
- if (o->index_only || (!
ce_skip_worktree(ce
) && (o->reset || ce_uptodate(ce))))
+ if (o->index_only || (!
((ce->ce_flags & CE_VALID) || ce_skip_worktree(ce)
) && (o->reset || ce_uptodate(ce))))
return 0;
if (!lstat(ce->name, &st)) {