Re: gmail screws up patches looking for workable workaround
- From
Jacob Helwig <jacob.helwig@gmail.com>
- Date
- Feb 13, 2009, 17:26 UTC
- Message-ID
- <8c9a060902130926j48b59785l624a3966254517e5@mail.gmail.com>
- In-Reply-To
- <81bfc67a0902130909i154a7c2epeff98347985c3fb8@mail.gmail.com>
On Fri, Feb 13, 2009 at 09:09, Caleb Cushing <xenoterracide@gmail.com> wrote:
Show 33 quoted lines
> 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 > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >
This is the setup I use for emailing patches using git:
~/.gitconfig
[sendemail]
smtpserver = smtp.gmail.com
smtpserverport = 587
smtpuser = your.email@gmail.com
smtppass = yourPassword
smtpencryption = tls$ git format-patch <options> # add comments to 00*.patch files. $ git send-email 00*
I've never seen any mangling using send-email, and the gmail SMTP server. I've never actually tried using imap-send. Not quite the answer to your question, but hopefully, it's another option.