From 6ee67f2610d0060bee45eee0b83fe42143441589 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 5 Jun 2005 23:15:40 -0700 Subject: Fix entry.c dependency and compile problem Bad Linus. --- entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'entry.c') diff --git a/entry.c b/entry.c index d7824c4f61..874516e174 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); -- cgit v1.2.3