From: Jeff King Date: Thu, 18 Oct 2012 09:18:28 GMT Subject: Re: [PATCH 3/6] pretty: prepare notes message at a centralized place Message-ID: <20121018091828.GA14838@sigill.intra.peff.net> In-Reply-To: <7vfw5cm96a.fsf@alter.siamese.dyndns.org> On Thu, Oct 18, 2012 at 02:17:01AM -0700, Junio C Hamano wrote: > Jeff King writes: > > > It's possible that switching it would create bugs elsewhere (there are > > over 100 uses of strbuf_detach, so maybe somebody really does want this > > NULL behavior), but I tend to think it is just as likely to be fixing > > undiscovered bugs. > > Yeah, I tend to agree. > > This "format-patch --notes" is obviously a post 1.8.0 topic, and so > is the strbuf_detach() clean-up. Let me bookmark this thread in > case it hasn't been resolved when I came back from my vacation, so > that I won't forget ;-). Actually, I have found a few segfaults, one of them remotely triggerable in http-backend. I think it can probably wait until post-1.8.0 as it does not have any security implications, though. Details in a moment. -Peff