X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=entry.c;h=874516e174d0704808587689504b9ba84f2dc9af;hb=b43d44779bf98977b211256f936d0edda8a9625a;hp=d7824c4f6133fe288b3c1347bec266f5fc2aa4de;hpb=12dccc165400beae564d2357ce86c71937e5cdc0;p=git.git diff --git a/entry.c b/entry.c index d7824c4f..874516e1 100644 --- a/entry.c +++ b/entry.c @@ -117,7 +117,7 @@ static int write_entry(struct cache_entry *ce, const char *path, struct checkout return error("git-checkout-cache: unknown file mode for %s", path); } - if (state->update) { + if (state->refresh_cache) { struct stat st; lstat(ce->name, &st); fill_stat_cache_info(ce, &st);