X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=entry.c;h=8fb99bc83f2d168e4a374d076608a2f42abbe434;hb=0d27c3f699eb4d9268449a867901c8cc5f36efd6;hp=6c47c3a3e1acb8badaadad42dfe3d0bd7a06cac3;hpb=8fedb83c05d4b3d877a220d614e8b9d40f02709d;p=git.git diff --git a/entry.c b/entry.c index 6c47c3a3..8fb99bc8 100644 --- a/entry.c +++ b/entry.c @@ -123,7 +123,7 @@ int checkout_entry(struct cache_entry *ce, struct checkout *state) strcpy(path + len, ce->name); if (!lstat(path, &st)) { - unsigned changed = ce_match_stat(ce, &st); + unsigned changed = ce_match_stat(ce, &st, 1); if (!changed) return 0; if (!state->force) {