diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-11-01 15:54:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-03 10:21:46 -0700 |
commit | f2e872aa5eeb74f429632e14d0f7fa2ed828b65a (patch) | |
tree | a48040f83b9df9773cb87b0b67736e8a3cac9f36 /git-cvsexportcommit.perl | |
parent | 4865d2b6622bd95fc07fea06916eeddf3e13e29b (diff) | |
download | git-f2e872aa5eeb74f429632e14d0f7fa2ed828b65a.tar.gz |
Work around EMFILE when there are too many pack files
When opening any files in the object database, release unused pack
windows if the open(2) syscall fails due to EMFILE (too many open
files in this process). This allows Git to degrade gracefully on
a repository with thousands of pack files, and a commit stored in
a loose object in the middle of the history.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsexportcommit.perl')
0 files changed, 0 insertions, 0 deletions