summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-05 06:28:21 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-05 06:28:21 (GMT)
commite27e609bbf81271318d99f2643f378f3fde6c6c6 (patch)
tree331a4d351a1a310a131ae28f71f6d5fa3486224e /cache.h
parentd222984e3610c1558778f7a23d23b89f1d91fb36 (diff)
parent8977c110b5bbd230c28c727ddb85856067d55cfb (diff)
downloadgit-e27e609bbf81271318d99f2643f378f3fde6c6c6.zip
git-e27e609bbf81271318d99f2643f378f3fde6c6c6.tar.gz
git-e27e609bbf81271318d99f2643f378f3fde6c6c6.tar.bz2
Merge branch 'maint'
* maint: pack-check.c::verify_packfile(): don't run SHA-1 update on huge data Fix infinite loop when deleting multiple packed refs.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 384f829..31b0819 100644
--- a/cache.h
+++ b/cache.h
@@ -179,6 +179,7 @@ extern int refresh_cache(unsigned int flags);
struct lock_file {
struct lock_file *next;
+ char on_list;
char filename[PATH_MAX];
};
extern int hold_lock_file_for_update(struct lock_file *, const char *path, int);