Re: [PATCH 03/31] refs.c: rename the transaction functions
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 16, 2014, 21:15 UTC
- Message-ID
- <xmqq38g9a0i0.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1400105610-21194-4-git-send-email-sahlberg@google.com>
Ronnie Sahlberg <sahlberg@google.com> writes:
Show 6 quoted lines
> Rename the transaction functions. Remove the leading ref_ from the names > and append _sha1 to the names for functions that create/delete/update sha1 > refs. > ... > - transaction = ref_transaction_begin(); > + transaction = transaction_begin();
Why? Do we forsee that there will never be other kinds of transaction, and whenever we say a "transaction" that will be always about updating the refs and nothing else?