summaryrefslogtreecommitdiff
path: root/contrib/examples/git-resolve.sh
diff options
context:
space:
mode:
authorLibravatar Joachim Schmitz <jojo@schmitz-digital.de>2012-08-24 11:52:22 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-08-24 09:46:01 -0700
commita0788266d310dd3f6343c7ee754106784aa1e2af (patch)
tree39439e8905b977aff60f7be8b0f4c7092cb96f2a /contrib/examples/git-resolve.sh
parentMerge branch 'maint-1.7.11' into maint (diff)
downloadtgif-a0788266d310dd3f6343c7ee754106784aa1e2af.tar.xz
sha1_file.c: introduce get_max_fd_limit() helper
Not all platforms have getrlimit(), but there are other ways to see the maximum number of files that a process can have open. If getrlimit() is unavailable, fall back to sysconf(_SC_OPEN_MAX) if available, and use OPEN_MAX from <limits.h>. Signed-off-by: Joachim Schmitz <jojo@schmitz-digital.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-resolve.sh')
0 files changed, 0 insertions, 0 deletions