From: Jonathan Nieder Date: Sat, 28 Aug 2010 17:09:26 GMT Subject: Re: [PATCH 1/2] t6200-fmt-merge-msg: Exercise 'merge.log' to configure shortlog length Message-ID: <20100828170926.GA1945@burratino> In-Reply-To: <20100828103536.GA12205@kytes> Ramkumar Ramachandra wrote: > Jonathan Nieder writes: >> cat >expected <<-\EOF && >> Left #3 >> ... >> EOF >> git -c merge.log=3 fmt-merge-msg <.git/FETCH_HEAD >msg && >> >> tail -n 2 msg >actual && >> test_cmp expected actual >> ' > > Ok. I don't like the `tail` thing. Why are you doing it instead of > comparing full outputs like the tests in the rest of the file? No good reason. :) Thanks, Jonathan