Code

contrib/difftool: remove distracting 'echo' in the SIGINT handler
authorMarkus Heidelberg <markus.heidelberg@web.de>
Mon, 19 Jan 2009 23:41:18 +0000 (00:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Jan 2009 06:39:19 +0000 (22:39 -0800)
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>
contrib/difftool/git-difftool-helper

index a2eb59b0f0d0afbc57cbf2b4debcd67dba46dd1e..0c48506eebdaab3b04e5c018bcc5233582404432 100755 (executable)
@@ -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
 }