aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-20 22:11:46 -0700
committerJunio C Hamano <gitster@pobox.com>2011-03-20 22:11:46 -0700
commit0bd20f10ea1884c1118efc19ee6325ad6cce9105 (patch)
tree08ca39c465b8782d6e6062fc32b06e0bbafb8bb6 /cache.h
parentdd7d0d09765117700db87b4ecf63551dd56a267a (diff)
parentd131b7afea58f47721dafd013ab6aff4adfc42dd (diff)
downloadgit-0bd20f10ea1884c1118efc19ee6325ad6cce9105.tar.gz
git-0bd20f10ea1884c1118efc19ee6325ad6cce9105.tar.xz
Merge branch 'sp/maint-fd-limit' into maint
* sp/maint-fd-limit: sha1_file.c: Don't retain open fds on small packs mingw: add minimum getrlimit() compatibility stub Limit file descriptors used by packs
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index c782495a8..f2dabefd9 100644
--- a/cache.h
+++ b/cache.h
@@ -898,7 +898,8 @@ extern struct packed_git {
time_t mtime;
int pack_fd;
unsigned pack_local:1,
- pack_keep:1;
+ pack_keep:1,
+ do_not_close:1;
unsigned char sha1[20];
/* something like ".git/objects/pack/xxxxx.pack" */
char pack_name[FLEX_ARRAY]; /* more */