Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix index preloading for racy dirty case
[gitweb.git]
/
preload-index.c
diff --git
a/preload-index.c
b/preload-index.c
index 6253578c9683c981144433c8da210e763e38f274..a6855837a4b85e475d556527335d89c8b0e3a02c 100644
(file)
--- a/
preload-index.c
+++ b/
preload-index.c
@@
-43,7
+43,7
@@
static void *preload_thread(void *_data)
continue;
if (lstat(ce->name, &st))
continue;
- if (ie_match_stat(index, ce, &st,
0
))
+ if (ie_match_stat(index, ce, &st,
CE_MATCH_RACY_IS_DIRTY
))
continue;
ce_mark_uptodate(ce);
} while (--nr > 0);