Re: [PATCH 2/4] fast-import: use pointer-to-pointer to keep list tail

2013-03-21 Thread Jonathan Nieder
Jeff King wrote: > 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 > --- > And it fixes an instance of Linus's "people do not understand pointers" Heh. Yes, loo

[PATCH 2/4] fast-import: use pointer-to-pointer to keep list tail

2013-03-21 Thread Jeff King
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 --- And it fixes an instance of Linus's "people do not understand pointers" from here: http://meta.slashdot.org/story/