git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Added --export option to git-send-email.

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 13, 2008, 21:36 UTC
Message-ID
<7vbq11qxfb.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<32541b130807131432j78e5100dyea20893268321466@mail.gmail.com>
"Avery Pennarun" <apenwarr@gmail.com> writes:
Show 13 quoted lines
> On 7/13/08, Junio C Hamano <gitster@pobox.com> wrote:
>> 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.

So what? Adding Cc: and stuff send-email does are already irreversible anyway.

Previous: Avery PennarunNext: Avery Pennarun
Message 6 of 15 in “Added --export option to git-send-email.”
  1. Added --export option to git-send-email.Eduard - Gabriel Munteanu, Jul 10, 2008
  2. Junio C HamanoJul 11, 2008
  3. Eduard - Gabriel MunteanuJul 11, 2008
  4. Junio C HamanoJul 13, 2008
  5. Avery PennarunJul 13, 2008
  6. Junio C HamanoJul 13, 2008
  7. Avery PennarunJul 13, 2008
  8. Junio C HamanoJul 13, 2008
  9. Avery PennarunJul 13, 2008
  10. Junio C HamanoJul 13, 2008
  11. Avery PennarunJul 13, 2008
  12. Eduard - Gabriel MunteanuJul 13, 2008
  13. Junio C HamanoJul 14, 2008
  14. Avery PennarunJul 14, 2008
  15. Eduard - Gabriel MunteanuJul 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.