Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Bugfix: read-cache.c:write_cache() misrecords number of entries.
[gitweb.git]
/
entry.c
diff --git
a/entry.c
b/entry.c
index d7824c4f6133fe288b3c1347bec266f5fc2aa4de..874516e174d0704808587689504b9ba84f2dc9af 100644
(file)
--- 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->
updat
e) {
+ if (state->
refresh_cach
e) {
struct stat st;
lstat(ce->name, &st);
fill_stat_cache_info(ce, &st);