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

gmail screws up patches looking for workable workaround

From
Caleb Cushing <xenoterracide@gmail.com>
Date
Feb 13, 2009, 17:09 UTC
Message-ID
<81bfc67a0902130909i154a7c2epeff98347985c3fb8@mail.gmail.com>

I've followed all the steps in the git Submitting patches guide. In fact it works fine for any patch where all lines are less than 80? chars. however, some of the patches store sha256 hashes (and the like) and have really long lines and gmail word wraps them.

I've tried submitting patches as follows.
git format-patch -1 -M --stdout | git imap-send
git format-patch -1 -M --stdout --attach | git imap-send
git format-patch -1 -M --stdout --inline | git imap-send

we know the first corrupts the patches. but what I can't figure out is why the next 2 don't work on the receiving end. The comment was.

git am -3 -i, when I choose [v]iew patch, I get a binary output.

I'm trying to figure out how I can submit patches via gmail for someone that uses git am. what is being done wrong?

-- 
Caleb Cushing

http://xenoterracide.blogspot.com
Next: Jacob Helwig
Message 1 of 7 in “gmail screws up patches looking for workable workaround”
  1. Caleb CushingFeb 13, 2009
  2. Jacob HelwigFeb 13, 2009
  3. Caleb CushingFeb 13, 2009
  4. Jacob HelwigFeb 13, 2009
  5. Caleb CushingFeb 13, 2009
  6. Jacob HelwigFeb 13, 2009
  7. Sitaram ChamartyFeb 14, 2009

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.