Merge branch 'mh/write-refs-sooner-2.3' into mh/write-refs-sooner-2.4
commit185ce3a98c07a51c23339a372ba08585517802e6
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2015 04:28:54 +0000 (12 21:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2015 04:28:54 +0000 (12 21:28 -0700)
tree69ff3b34d668ac93ccdbd68ba73b73ff0229e125
parentcf018ee0cd897150300a1d6431c07c840ab5b54e
parent4ec6591dd7bb055a74f259ad4c360ecd8ded5f35
Merge branch 'mh/write-refs-sooner-2.3' into mh/write-refs-sooner-2.4

* mh/write-refs-sooner-2.3:
  ref_transaction_commit(): fix atomicity and avoid fd exhaustion
  ref_transaction_commit(): remove the local flags variable
  ref_transaction_commit(): inline call to write_ref_sha1()
  rename_ref(): inline calls to write_ref_sha1() from this function
  commit_ref_update(): new function, extracted from write_ref_sha1()
  write_ref_to_lockfile(): new function, extracted from write_ref_sha1()
  t7004: rename ULIMIT test prerequisite to ULIMIT_STACK_SIZE
  update-ref: test handling large transactions properly