aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-01-20 00:41:18 +0100
committerJunio C Hamano <gitster@pobox.com>2009-01-19 22:39:19 -0800
commitbc08fc4e850794c76da367bb628e508e6d41b1eb (patch)
tree912fcc455db0a82dc827246836435aac3e2667b6
parentf13bfc1be7d25955e3ff5563fb6e35d03a408b4e (diff)
downloadgit-bc08fc4e850794c76da367bb628e508e6d41b1eb.tar.gz
git-bc08fc4e850794c76da367bb628e508e6d41b1eb.tar.xz
contrib/difftool: remove distracting 'echo' in the SIGINT handler
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xcontrib/difftool/git-difftool-helper1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/difftool/git-difftool-helper b/contrib/difftool/git-difftool-helper
index a2eb59b0f..0c48506ee 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
}