From: Torsten Bögershausen Date: Sun, 22 Mar 2015 19:57:19 GMT Subject: Re: [PATCH 4/5] Add tests for git-log --merges=show|hide|only Message-ID: <550F1E9F.40801@web.de> In-Reply-To: <1427048921-28677-4-git-send-email-koosha@posteo.de> On 22.03.15 19:28, Koosha Khajehmoogahi wrote: > Signed-off-by: Koosha Khajehmoogahi > --- > t/t4202-log.sh | 141 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 141 insertions(+) > > diff --git a/t/t4202-log.sh b/t/t4202-log.sh > index 5f2b290..ab6f371 100755 > --- a/t/t4202-log.sh > +++ b/t/t4202-log.sh > @@ -428,6 +428,147 @@ cat > expect <<\EOF > * initial > EOF > > +cat > only_merges <" - please add the && at the end of the line: cat >only_merges < +test_expect_success 'log with config log.merges=show' ' > + git config log.merges show && Indent with TAB is good > + git log --pretty=tformat:%s >actual && but indent with 4 spaces not ideal, please use a TAB as well. > + test_cmp both_commits_merges actual && > + git config --unset log.merges Do we need the unset here? The log.merges is nicely set up before each test case, so can we drop the unset lines ? (Or do I miss something ?)