summaryrefslogtreecommitdiff
path: root/contrib/difftool
diff options
context:
space:
mode:
authorLibravatar Markus Heidelberg <markus.heidelberg@web.de>2009-01-20 00:41:18 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-19 22:39:19 -0800
commitbc08fc4e850794c76da367bb628e508e6d41b1eb (patch)
tree912fcc455db0a82dc827246836435aac3e2667b6 /contrib/difftool
parentcontrib/difftool: change trap condition from SIGINT to INT (diff)
downloadtgif-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>
Diffstat (limited to 'contrib/difftool')
-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 a2eb59b0f0..0c48506eeb 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
}