Re: [PATCH v4 07/32] hold_lock_file_for_append(): release lock on errors
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Sep 12, 2014, 11:04 UTC
- Message-ID
- <5412D32C.2060003@alum.mit.edu>
- In-Reply-To
- <xmqqiokwifi9.fsf@gitster.dls.corp.google.com>
On 09/10/2014 12:41 AM, Junio C Hamano wrote:
Show 7 quoted lines
> Michael Haggerty <mhagger@alum.mit.edu> writes: > >> If there is an error copying the old contents to the lockfile, roll >> back the lockfile before exiting so that the lockfile is not held >> until process cleanup. > > Same comment as 06/32 applies here.
Same reply applies here, too.
Michael
-- Michael Haggerty mhagger@alum.mit.edu