Re: [PATCH next v2] git-notes: add test case for multi-line notes
- From
Jeff King <peff@peff.net>
- Date
- Jan 14, 2009, 17:19 UTC
- Message-ID
- <20090114171925.GA16199@coredump.intra.peff.net>
- In-Reply-To
- <496E1D77.6000307@viscovery.net>
On Wed, Jan 14, 2009 at 06:14:31PM +0100, Johannes Sixt wrote:
Show 13 quoted lines
> A the point was that $MSG contains \n, which should be turned int LF. IMO, > the easiest way to achieve this is: > > MSG='b3 > c3c3c3c3 > d3d3d3' > > test_expect_success ' ... ' ' > ... > MSG="$MSG" git notes edit > ' > > and go back to using echo in the part cited above.
Yes, sorry, I hadn't read his original patch carefully. I think that is a sane solution.
-Peff