Re: [PATCH 2/4] fast-import: use pointer-to-pointer to keep list tail
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Mar 21, 2013, 20:43 UTC
- Message-ID
- <20130321204355.GK29311@google.com>
- In-Reply-To
- <20130321110817.GB18819@sigill.intra.peff.net>
Jeff King wrote:
Show 7 quoted lines
> This is shorter, idiomatic, and it means the compiler does > not get confused about whether our "e" pointer is valid, > letting us drop the "e = e" hack. > > Signed-off-by: Jeff King <peff@peff.net> > --- > And it fixes an instance of Linus's "people do not understand pointers"
Heh. Yes, looks correct. For what it's worth, Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>