Re: [PATCH v3 16/19] branch.c: use ref transaction for all ref updates
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 29, 2014, 17:15 UTC
- Message-ID
- <xmqqr44gkqfp.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <535F725B.5000102@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
Show 6 quoted lines
> I have no compunctions about using update() to create or delete a > reference. My point of view is that update() is the general case, and > create() and delete() are special-cases that exist only for the > convenience of callers. For example, our future pluggable backends > might only have to implement update(), and the other two functions could > delegate to it at the abstract layer.
Sounds like a sensible position.
Thanks for commenting, Michael, and thanks for working on this, Ronnie.