David Kastrup <dak@xxxxxxx> writes: > Junio C Hamano <gitster@xxxxxxxxx> writes: > >> Christian Couder <chriscool@xxxxxxxxxxxxx> writes: >> >>> The config information is stored in the list >>> whose first item is pointed to by: >>> >>> static struct trailer_item *first_conf_item; >> >> If feels somewhat strange ... > > Can't say I agree here. Basically all my doubly-linked lists are not > for traversing data forwards and backwards ... > Having a "last" pointer is an orthogonal concept ... Yeah, that is where "somewhat strange", not "wrong", comes from ;-) -- 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