X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=entry.c;h=257ab46e943f1f8b7445f01c10d949224c17112f;hb=refs%2Ftags%2Fv1.5.4.5;hp=cfadc6a292033d349f6b1efff75d2c4f9f2525fe;hpb=784c099a30368af4238e2713e6220688119239a1;p=git.git diff --git a/entry.c b/entry.c index cfadc6a29..257ab46e9 100644 --- a/entry.c +++ b/entry.c @@ -203,7 +203,7 @@ int checkout_entry(struct cache_entry *ce, const struct checkout *state, char *t strcpy(path + len, ce->name); if (!lstat(path, &st)) { - unsigned changed = ce_match_stat(ce, &st, 1); + unsigned changed = ce_match_stat(ce, &st, CE_MATCH_IGNORE_VALID); if (!changed) return 0; if (!state->force) {