Merge branch 'rs/ref-transaction-1' into jch
commitbe05ee83fddb759716e68b3bc33642cb01904b21
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Aug 2014 19:33:47 +0000 (25 12:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Aug 2014 19:33:48 +0000 (25 12:33 -0700)
treed18b71053a8fc4a1e57e1f7ac851435dee720692
parentcf6be68145d2b305b9d886cdb0927202de8fa8ea
parent06c87435cc3067b14b3b36a7586735d16dc5f7fe
Merge branch 'rs/ref-transaction-1' into jch

The second batch of the transactional ref update series.

No more nitpicks and better design suggestions?

* rs/ref-transaction-1:
  refs.c: make delete_ref use a transaction
  refs.c: make prune_ref use a transaction to delete the ref
  refs.c: remove lock_ref_sha1
  refs.c: remove the update_ref_write function
  refs.c: remove the update_ref_lock function
  refs.c: make lock_ref_sha1 static
  walker.c: use ref transaction for ref updates
  fast-import.c: use a ref transaction when dumping tags
  receive-pack.c: use a reference transaction for updating the refs
  refs.c: change update_ref to use a transaction
  branch.c: use ref transaction for all ref updates
  fast-import.c: change update_branch to use ref transactions
  sequencer.c: use ref transactions for all ref updates
  commit.c: use ref transactions for updates
  replace.c: use the ref transaction functions for updates
  tag.c: use ref transactions when doing updates
  refs.c: add transaction.status and track OPEN/CLOSED/ERROR
  refs.c: make ref_transaction_begin take an err argument
  refs.c: update ref_transaction_delete to check for error and return status
  refs.c: change ref_transaction_create to do error checking and return status

# Conflicts:
#  sequencer.c
#  walker.c
branch.c
builtin/commit.c
builtin/receive-pack.c
builtin/replace.c
builtin/tag.c
fast-import.c
refs.c
refs.h
sequencer.c
walker.c