git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Aguilar <davvid@gmail.com>
To: markus.heidelberg@web.de
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] contrib/difftool: remove distracting 'echo' in the SIGINT  handler
Date: Mon, 19 Jan 2009 19:04:53 -0800	[thread overview]
Message-ID: <402731c90901191904l217d6bdenf33f02033519c731@mail.gmail.com> (raw)
In-Reply-To: <200901200041.18793.markus.heidelberg@web.de>

On Mon, Jan 19, 2009 at 3:41 PM, Markus Heidelberg
<markus.heidelberg@web.de> wrote:
> When interrupting git-difftool with Ctrl-C, the output of this echo
> command led to having the cursor at the beginning of the line below the
> shell prompt.
>
> Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
> ---
>
>        David, have you intentionally added this 'echo', did it fix
>        anything for you?


I think you're right in that we're better off without the echo.  There
wasn't really any reason for it to be there.




>
>  contrib/difftool/git-difftool-helper |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/contrib/difftool/git-difftool-helper b/contrib/difftool/git-difftool-helper
> index a2eb59b..0c48506 100755
> --- a/contrib/difftool/git-difftool-helper
> +++ b/contrib/difftool/git-difftool-helper
> @@ -32,7 +32,6 @@ cleanup_temp_files () {
>
>  # This is called when users Ctrl-C out of git-difftool-helper
>  sigint_handler () {
> -       echo
>        cleanup_temp_files
>        exit 1
>  }
> --
> 1.6.1.216.g3acd
>
>



-- 
    David

      reply	other threads:[~2009-01-20  3:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 23:41 [PATCH] contrib/difftool: remove distracting 'echo' in the SIGINT handler Markus Heidelberg
2009-01-20  3:04 ` David Aguilar [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=402731c90901191904l217d6bdenf33f02033519c731@mail.gmail.com \
    --to=davvid@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=markus.heidelberg@web.de \
    /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).