Merge branch 'mh/write-refs-sooner-2.2' into mh/write-refs-sooner-2.3
commit4ec6591dd7bb055a74f259ad4c360ecd8ded5f35
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2015 04:26:09 +0000 (12 21:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2015 04:26:09 +0000 (12 21:26 -0700)
tree9389945d76d6d94a59afcda2f77500eea05038c4
parent16018ae5fb368151f3eff13730cf089b63f41962
parent6c34492ab4f260a4f32968e235da9badb22b56b4
Merge branch 'mh/write-refs-sooner-2.2' into mh/write-refs-sooner-2.3

* mh/write-refs-sooner-2.2:
  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
refs.c
t/t1400-update-ref.sh
t/t7004-tag.sh