From: Junio C Hamano Date: Wed, 30 Mar 2011 19:21:21 GMT Subject: Re: [PATCH 3/4] Clean: Remove unnecessary `\' (line continuation) Message-ID: <7v8vvwo1n2.fsf@alter.siamese.dyndns.org> In-Reply-To: Michael Witten writes: > Signed-off-by: Michael Witten > --- > t/t8001-annotate.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/t/t8001-annotate.sh b/t/t8001-annotate.sh > index 45cb60e..68ac828 100755 > --- a/t/t8001-annotate.sh > +++ b/t/t8001-annotate.sh > @@ -8,7 +8,7 @@ PROG='git annotate' > > test_expect_success \ > 'Annotating an old revision works' \ > - '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") -eq 2 ] && \ > + '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") -eq 2 ] && > [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") -eq 2 ]' While this is not wrong per-se, I don't want to take too much half-way churning. If we were to properly do this, we should first rewrite it to use the more modern style: test_expect_success 'Annotating an old revision works' ' ... test script comes here ... ' and just run annotate once without having any downstream pipe, i.e. git annotate file master >result && awk "{ print \$3; }" authors && test 2 = $(grep A