git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phillip Wood <phillip.wood123@gmail.com>
To: Andrei Rybak <rybak.a.v@gmail.com>, git@vger.kernel.org
Cc: phillip.wood@dunelm.org.uk, s-beyer@gmx.net,
	Paul Tan <pyokagan@gmail.com>, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] t4150: remove unused variable
Date: Wed, 13 Mar 2019 14:47:29 +0000	[thread overview]
Message-ID: <936bfc66-c121-a036-4ccf-c9877560bc33@gmail.com> (raw)
In-Reply-To: <36ad743f-8429-a6ff-7fad-15e5dba01483@gmail.com>

On 12/03/2019 14:38, Andrei Rybak wrote:
> In commit 735285b403 ("am: fix signoff when other trailers are present",
> 2017-08-08) tests using variable $signoff were rewritten and it is no
> longer used, so just remove it from the test setup.

Well spotted, thanks

Phillip

> Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
> ---
>   t/t4150-am.sh | 4 +---
>   1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/t/t4150-am.sh b/t/t4150-am.sh
> index 55b577d919..3f7f750cc8 100755
> --- a/t/t4150-am.sh
> +++ b/t/t4150-am.sh
> @@ -77,14 +77,12 @@ test_expect_success 'setup: messages' '
>   
>   	printf "Subject: " >subject-prefix &&
>   
> -	cat - subject-prefix msg-without-scissors-line >msg-with-scissors-line <<-\EOF &&
> +	cat - subject-prefix msg-without-scissors-line >msg-with-scissors-line <<-\EOF
>   	This line should not be included in the commit message with --scissors enabled.
>   
>   	 - - >8 - - remove everything above this line - - >8 - -
>   
>   	EOF
> -
> -	signoff="Signed-off-by: $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>"
>   '
>   
>   test_expect_success setup '
> 

      parent reply	other threads:[~2019-03-13 14:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12 14:38 [PATCH] t4150: remove unused variable Andrei Rybak
2019-03-13  2:10 ` Junio C Hamano
2019-03-13 14:47 ` Phillip Wood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=936bfc66-c121-a036-4ccf-c9877560bc33@gmail.com \
    --to=phillip.wood123@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=phillip.wood@dunelm.org.uk \
    --cc=pyokagan@gmail.com \
    --cc=rybak.a.v@gmail.com \
    --cc=s-beyer@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).