Re: [PATCH v3] refs.c: add a function to append a reflog entry to a fd
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 20, 2014, 21:31 UTC
- Message-ID
- <20141120213155.GK6527@google.com>
- In-Reply-To
- <CAGZ79kZDMWyW46wNgqudPiX1UmZteyFVJXMAYqJpp8e_r8LCmQ@mail.gmail.com>
Stefan Beller wrote:
> On Thu, Nov 20, 2014 at 1:20 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 9 quoted lines
>> I don't understand why the above writes to a temporary variable and >> checks it, never to read that temporary again. >> >> I don't think that alone is a reason to block the patch, but it >> worries me in that the review comment seems to have been just lost. > > It wasn't lost as I think it should go in a follow up patch. Sorry for > not stating that clearly. > (This patch is about moving code around, not changing code)
Ah, sorry for the lack of clarity.
I agree completely with the above principle. But the code that writes to result and checks result is new code, not part of the code that moved.