Re: [PATCH] Added --export option to git-send-email.
On 7/13/08, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> 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.
Have fun,
Avery