Re: [PATCH v2 00/27] Clean up update-refs --stdin and implement ref_transaction
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Mar 26, 2014, 21:47 UTC
- Message-ID
- <53334ADD.8030806@alum.mit.edu>
- In-Reply-To
- <53331EE6.2010100@kitware.com>
On 03/26/2014 07:39 PM, Brad King wrote:
Show 24 quoted lines
> On 03/24/2014 01:56 PM, Michael Haggerty wrote: >> Changes relative to v1: >> >> * Rename the functions associated with ref_transactions to be more >> reminiscent of database transactions: >> >> * create_ref_transaction() -> ref_transaction_begin() >> * free_ref_transaction() -> ref_transaction_rollback() >> * queue_update_ref() -> ref_transaction_update() >> * queue_create_ref() -> ref_transaction_create() >> * queue_delete_ref() -> ref_transaction_delete() >> * commit_ref_transaction() -> ref_transaction_commit() > > Those new names look better. > >> * Fix backwards compatibility of "git update-ref --stdin -z"'s >> handling of the "create" command: allow <newvalue> to be the empty >> string, treating it the same zeros. But deprecate this usage. > > The changes related to that look good. The new documentation is > much clearer than my old wording. > > Series v2 looks good to me except for my responses to individual > commits.
Thanks a lot for the review. Your other two comments are correct, of course, and I will fix them if there needs to be a re-roll.
Michael
-- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/