Merge branch 'bc/unuse-packfile'
commit04fbba0119a1e5aeece9a6c4ee70dad8fbd07b0f
authorJunio C Hamano <gitster@pobox.com>
Wed, 4 Sep 2013 19:30:21 +0000 (4 12:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Sep 2013 19:30:21 +0000 (4 12:30 -0700)
tree01b503fb6517938537cc485b5a8fac11a11f0faa
parent9a7eaad65ff5f6bf5c7fda427bcc2b94f6ada598
parent7c3ecb32541d767518bf78633603f94fefdac8cf
Merge branch 'bc/unuse-packfile'

Handle memory pressure and file descriptor pressure separately when
deciding to release pack windows to honor resource limits.

* bc/unuse-packfile:
  Don't close pack fd when free'ing pack windows
  sha1_file: introduce close_one_pack() to close packs on fd pressure
git-compat-util.h
sha1_file.c