aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-02-05 14:01:23 -0800
committerJunio C Hamano <gitster@pobox.com>2014-02-05 14:01:23 -0800
commit28856247e226c9bf84c258797ddb4a233b8acd7b (patch)
treefcd8a7bf5ac92b33c3ad548dff48bf86bb68ed67 /git.c
parenta118beeddf9d0373078595dd1d1d5f33441a1cdd (diff)
parent491a8dec44e9b91149ef77c77c341e7d41df39be (diff)
downloadgit-28856247e226c9bf84c258797ddb4a233b8acd7b.tar.gz
git-28856247e226c9bf84c258797ddb4a233b8acd7b.tar.xz
Merge branch 'jh/rlimit-nofile-fallback' into maint
When we figure out how many file descriptors to allocate for keeping packfiles open, a system with non-working getrlimit() could cause us to die(), but because we make this call only to get a rough estimate of how many is available and we do not even attempt to use up all file descriptors available ourselves, it is nicer to fall back to a reasonable low value rather than dying. * jh/rlimit-nofile-fallback: get_max_fd_limit(): fall back to OPEN_MAX upon getrlimit/sysconf failure
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions