From: Avery Pennarun Date: Sun, 13 Jul 2008 21:32:57 GMT Subject: Re: [PATCH] Added --export option to git-send-email. Message-ID: <32541b130807131432j78e5100dyea20893268321466@mail.gmail.com> In-Reply-To: <7vskudr11m.fsf@gitster.siamese.dyndns.org> 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. Have fun, Avery