Re: Apology/Bug report: git-send-email sends everything on Ctrl+C
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- May 26, 2010, 08:40 UTC
- Message-ID
- <4BFCDE68.4090909@drmicha.warpmail.net>
- In-Reply-To
- <4BFCC4B5.6070408@vilain.net>
Sam Vilain venit, vidit, dixit 26.05.2010 08:50:
Show 16 quoted lines
> 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.
>
> SamI don't want to make you feel even worse, but could you tell us what mistake you made so that we can avoid it? Wrong base rev for format-patch baserev.. and piping directly into send-email?
Michael