Jeff King <p...@peff.net> writes: > I noticed a spot in builtin/bundle.c that would benefit from using > prefix_filename(). But when I tried to use it, I noticed its interface > was a little error-prone (because it returns a static buffer). And > indeed, a little digging found a bug in hash-object related to this. > > So here's the fix for the hash-object bug, some cleanups to make such > bugs less likely, and then finally the bundle conversion. The bundle > thing does fix some minor bugs. It _could_ come before the cleanups if > we wanted to float the fixes to the top, but the function is much more > pleasant to call after the cleanups. :)
Thanks. They all looked sensible.