On Thu, Jun 05, 2008 at 04:16:46PM -0700, Junio C Hamano wrote: > Do you have a caller of this function that keeps a pointer to commit_list > that needs to be appended at the tail or inserted at the beginning > depending on the phase of the moon, or does the caller always append to > that list? The later. I use it for appending a new parent for the merge commit and after parsing a new remote head. In both cases I always append a list.