summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-06 06:15:40 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-06 06:15:40 (GMT)
commit6ee67f2610d0060bee45eee0b83fe42143441589 (patch)
tree3715da8cfe4ed5d0326a6657b0ad0ff73f66691c /entry.c
parente6ee623b7be2a59a3f3d1ff8c513d72b6f15344f (diff)
downloadgit-6ee67f2610d0060bee45eee0b83fe42143441589.zip
git-6ee67f2610d0060bee45eee0b83fe42143441589.tar.gz
git-6ee67f2610d0060bee45eee0b83fe42143441589.tar.bz2
Fix entry.c dependency and compile problem
Bad Linus.
Diffstat (limited to 'entry.c')
-rw-r--r--entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/entry.c b/entry.c
index d7824c4..874516e 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);