git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] contrib/difftool: remove distracting 'echo' in the SIGINT handler

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Jan 19, 2009, 23:41 UTC
Message-ID
<200901200041.18793.markus.heidelberg@web.de>

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?
 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
Next: David Aguilar
Message 1 of 2 in “contrib/difftool: remove distracting 'echo' in the SIGINT handler”
  1. contrib/difftool: remove distracting 'echo' in the SIGINT handlerMarkus Heidelberg, Jan 19, 2009
  2. David AguilarJan 20, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.