[PATCH 0/2] Work around too many file descriptors
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Nov 1, 2010, 22:54 UTC
- Message-ID
- <1288652061-19614-1-git-send-email-spearce@spearce.org>
This tiny series tries to work around not having enough file descriptors to open every pack in a repository. It is the logical conclusion of Johannes Schindelin's commit fd73ccf2 ("Cope better with a _lot_ of packs").
The patch was prepared on top of gitster's recent two changes to improve error handling in read_sha1_file().
Shawn O. Pearce (2): Use git_open_noatime when accessing pack data Work around EMFILE when there are too many pack files
sha1_file.c | 43 ++++++++++++++++++++++++++++--------------- 1 files changed, 28 insertions(+), 15 deletions(-)
-- 1.7.3.2.191.g2d0e5