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

Re: [PATCH] git-am: ignore leading whitespace before patch

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Aug 3, 2011, 13:31 UTC
Message-ID
<CALUzUxrubhFpLd00BomM5WwPYNwPbxCx6q7U2TG4PssaQODkZQ@mail.gmail.com>
In-Reply-To
<CAGdFq_it-QAA5uSme6S715dRzHs-s-Uj=MWKzBK2MOaaSdiXtg@mail.gmail.com>
On Wed, Aug 3, 2011 at 9:21 PM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
> So how do you get the patches out of gmail? Do you just copy/paste the
> output of the "Show original" page?

I Ctrl-S from the "Show original" page. Using Chrome, that yields a mail.txt file.

Without this patch, I used to manually remove the first line (all empty whitespace).

-- 
Cheers,
Ray Chuan
Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 4 of 10 in “git-am: ignore leading whitespace before patch”
  1. git-am: ignore leading whitespace before patchDavid Barr, Aug 2, 2011
  2. Tay Ray ChuanAug 3, 2011
  3. Sverre RabbelierAug 3, 2011
  4. Tay Ray ChuanAug 3, 2011
  5. Sverre RabbelierAug 3, 2011
  6. David BarrAug 6, 2011
  7. Junio C HamanoAug 6, 2011
  8. am: ignore leading whitespace before patchJonathan Nieder, Aug 8, 2011
  9. David BarrAug 8, 2011
  10. David BarrAug 8, 2011

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.