From: Shawn O. Pearce Date: Fri, 18 Jan 2008 02:09:12 GMT Subject: Re: [PATCH] fast-import.c: don't try to commit marks file if write failed Message-ID: <20080118020911.GQ24004@spearce.org> In-Reply-To: <7vmyr4jpww.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > Brandon Casey writes: > > > We also move the assignment of -1 to the lock file descriptor > > up, so that rollback_lock_file() can be called safely after a > > possible attempt to fclose(). This matches the contents of > > the 'if' statement just above testing success of fdopen(). > > > > Signed-off-by: Brandon Casey > > --- > > Shawn, could you lend an extra set of eyeballs on this one > please? It looks sane to me but obviously you are more familiar > with the code. I agree. Acked-by: Shawn O. Pearce -- Shawn.