Jeff King <peff@xxxxxxxx> writes: > I think this is a good direction, and I didn't see any errors in the > code. It's slightly sad that we end up with more lines than we started > with, but I think that's mostly because you're actually freeing the > memory now. > ... > I.e., I think: > > if (is_prereq) > string_list_append(&header->prerequisites, "")->util = oid; > else > string_list_append(&header->references, p + 1)->util = oid; > > is much more obvious. Nicely done and nicely reviewed and improved. Together with the "no point in freeing just before dying" on the earlier step, polishing this topic to incorporate the suggested changes should be fairly an easy task. Let's not leave too many loose ends hanging around and close this one with the last final reroll (hopefully without "I did this too while at it" that meets "oh, well, that is a bit controversi8al" to drag it unnecessarily out). Thanks.