Merge branch 'tb/commit-graph-fd-exhaustion-fix'
commitcf054f817a30cf4a6531548f52cd7d5cbed6f4fc
authorJunio C Hamano <gitster@pobox.com>
Fri, 1 May 2020 20:39:53 +0000 (1 13:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 May 2020 20:39:53 +0000 (1 13:39 -0700)
tree1a22fdf3be94217a1427f8728dc1bf3a0e25692e
parent6a1c17d05b0e67fa5f9661f492f407b984496b27
parentc8828530b7797f5ab584c84dc2b86d3c14b39c8d
Merge branch 'tb/commit-graph-fd-exhaustion-fix'

The commit-graph code exhausted file descriptors easily when it
does not have to.

* tb/commit-graph-fd-exhaustion-fix:
  commit-graph: close descriptors after mmap
  commit-graph.c: gracefully handle file descriptor exhaustion
  t/test-lib.sh: make ULIMIT_FILE_DESCRIPTORS available to tests
  commit-graph.c: don't use discarded graph_name in error
commit-graph.c
t/t1400-update-ref.sh
t/t5324-split-commit-graph.sh
t/test-lib.sh