From: Johannes Schindelin Date: Wed, 14 Jan 2009 10:14:06 GMT Subject: Re: [PATCH next] git-notes: fix printing of multi-line notes Message-ID: In-Reply-To: <7v3afm758u.fsf@gitster.siamese.dyndns.org> Hi, On Tue, 13 Jan 2009, Junio C Hamano wrote: > Johannes Schindelin writes: > > > On Tue, 13 Jan 2009, Tor Arne Vestbø wrote: > > > >> The line length was read from the same position every time, > >> causing mangled output when printing notes with multiple lines. > >> > >> Also, adding new-line manually for each line ensures that we > >> get a new-line between commits, matching git-log for commits > >> without notes. > >> > >> Signed-off-by: Tor Arne Vestbø > >> --- > > > > Patch looks good, so > > > > Acked-by: Johannes Schindelin > > > > For extra browny points, you could add a test with multi-line notes. > > Yeah, not just "extra", having tests is a good way to make sure a new > feature like this evolves healthily. Oh, and of course I meant "brownie"... Ducks, Dscho