X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=entry.c;h=257ab46e943f1f8b7445f01c10d949224c17112f;hb=c3b0dec509fe136c5417422f31898b5a4e2d5e02;hp=cfadc6a292033d349f6b1efff75d2c4f9f2525fe;hpb=afc05f9f13beded8caf15d8e58d06fd64e0f7808;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) {