Re: Apology/Bug report: git-send-email sends everything on Ctrl+C
- From
Sam Vilain <sam@vilain.net>
- Date
- May 26, 2010, 06:50 UTC
- Message-ID
- <4BFCC4B5.6070408@vilain.net>
- In-Reply-To
- <4BFCB9D0.3010400@vilain.net>
Sam Vilain wrote:
> Expect a mail storm shortly, sorry folks. >
I just had a look at patching git-send-email.perl; but it looks like it is checking $? correctly at least since beece9da;
system('sh', '-c', $editor.' "$@"', $editor, $_);
if (($? & 127) || ($? >> 8)) {
die("the editor exited uncleanly, aborting everything");
}I think I must have actually hit Ctrl-Z, not Ctrl-C. So, it's all my fault and I apologize profusely.
Sam