Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
verify_uptodate(): add ce_uptodate(ce) test
[gitweb.git]
/
unpack-trees.c
diff --git
a/unpack-trees.c
b/unpack-trees.c
index 11902cd51da9d83952df03edc1aadffc41e3f05b..9fe0cd5f9b4e39dc8685a29c293a6138c02dcf4f 100644
(file)
--- a/
unpack-trees.c
+++ b/
unpack-trees.c
@@
-430,7
+430,7
@@
static int verify_uptodate(struct cache_entry *ce,
{
struct stat st;
- if (o->index_only || o->reset)
+ if (o->index_only || o->reset
|| ce_uptodate(ce)
)
return 0;
if (!lstat(ce->name, &st)) {