author | Michael Witten <mfwitten@MIT.EDU> | |
Mon, 4 Feb 2008 00:53:57 +0000 (19:53 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 5 Feb 2008 08:36:10 +0000 (00:36 -0800) | ||
commit | 874299760708e3bd4d63e9afa8da3fe8a7ddc006 | |
tree | bd2bbb2a20cc02029ceb5dbe06eb88b992608431 | tree | snapshot |
parent | 2363d7467dcd60467b3e694b3ba6f859bb226f5c | commit | diff |
git-send-email: SIG{TERM,INT} handlers
A single signal handler is used for both SIGTERM and
SIGINT in order to clean up after an uncouth termination
of git-send-email.
In particular, the handler resets the text color (this cleanup
was already present), turns on tty echoing (in case termination
occurrs during a masked Password prompt), and informs the user
of of any temporary files created by --compose.
Signed-off-by: Michael Witten <mfwitten@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
A single signal handler is used for both SIGTERM and
SIGINT in order to clean up after an uncouth termination
of git-send-email.
In particular, the handler resets the text color (this cleanup
was already present), turns on tty echoing (in case termination
occurrs during a masked Password prompt), and informs the user
of of any temporary files created by --compose.
Signed-off-by: Michael Witten <mfwitten@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | diff | blob | history |