summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-15 21:22:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-15 21:22:23 (GMT)
commit674ef90904fe651ecacafc4211a8a24014160207 (patch)
treeda07f0f6663799582fffd716e3e5b5f094a6b390 /cache.h
parentccf6d62d1e8d9a725b4c5a374c2d0e2cd01dd6a7 (diff)
parentd131b7afea58f47721dafd013ab6aff4adfc42dd (diff)
downloadgit-674ef90904fe651ecacafc4211a8a24014160207.zip
git-674ef90904fe651ecacafc4211a8a24014160207.tar.gz
git-674ef90904fe651ecacafc4211a8a24014160207.tar.bz2
Merge branch 'sp/maint-fd-limit'
* 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 d0bbc91..c4ef999 100644
--- a/cache.h
+++ b/cache.h
@@ -913,7 +913,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 */