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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <peff@xxxxxxxx>
> ---
> 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@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]