Reset terminal attributes when terminating git send-email
commit412876dcbb7ca10e64ed8118bc1995788d397782
authorSean Estabrooks <seanlkml@sympatico.ca>
Fri, 17 Aug 2007 21:38:25 +0000 (17 17:38 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Aug 2007 22:38:37 +0000 (22 15:38 -0700)
tree4290d579ad4132ff71b85d87d1aa0754dc9d725b
parent63c2bd25d685faeed2c1e486cd957daaaaac7052
Reset terminal attributes when terminating git send-email

If you break out of the prompts presented to you by git send-email
your terminal can be left in an inconsistent state.  Here we trap
the interrupt signal and reset the terminal before exiting.

Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl