Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: strip off leading slashes on --trunk argument
[gitweb.git]
/
unpack-trees.c
diff --git
a/unpack-trees.c
b/unpack-trees.c
index c29a9e067ff362063d6626e8e4d1e4466d63b8af..490cd5f6f4779cbff68405722b98e522cbeb3cde 100644
(file)
--- a/
unpack-trees.c
+++ b/
unpack-trees.c
@@
-854,7
+854,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)) {