From: Junio C Hamano Date: Sun, 13 Jul 2008 21:36:08 GMT Subject: Re: [PATCH] Added --export option to git-send-email. Message-ID: <7vbq11qxfb.fsf@gitster.siamese.dyndns.org> In-Reply-To: <32541b130807131432j78e5100dyea20893268321466@mail.gmail.com> "Avery Pennarun" writes: > On 7/13/08, Junio C Hamano wrote: >> Eduard - Gabriel Munteanu writes: >> > + } elsif (defined $export_file) { >> > + my $mbox_from = "From $raw_from $date"; >> > + $message =~ s/^(>{0,})From/>$1From/m; >> > + print $out "$mbox_from\n$header\n$message"; >> >> Sorry, but I am scratching my head here. Shouldn't this "bare From >> munging" be like this instead? >> >> $message =~ s/^From />From /m; > > That wouldn't be a reversible operation. So what? Adding Cc: and stuff send-email does are already irreversible anyway.