contrib/difftool: remove distracting 'echo' in the SIGINT handler
PATCH 1/1 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 <[email protected]>
---
David, have you intentionally added this 'echo', did it fix anything for you?
contrib/difftool/git-difftool-helper | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
contrib/difftool/git-difftool-helper +0 -1
@@ -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 }
Signature · 1 line
1.6.1.216.g3acd
Quoted 9 lines · Markus Heidelberg
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 <[email protected]>---
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.
Quoted 20 lines
contrib/difftool/git-difftool-helper | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)contrib/difftool/git-difftool-helper +0
-2@@ -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
Signature · 1 line
David