Re: [PATCH] fast-import.c: don't try to commit marks file if write failed
Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> Brandon Casey <casey@nrlssc.navy.mil> 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 <casey@nrlssc.navy.mil>
> > ---
>
> 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 <spearce@spearce.org>
--
Shawn.