Re: generating a multi-part patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As Matthias said, edit and commit your changes in a different branch.

On 01/05/09 14:56 +0200, Matthias Kaehlcke wrote:
> # edit and commit your changes ...
> 
> # generate the emails

However, instead of just formatting the patch like so:
> git format-patch <options>

You can actually format the patches and send the emails simultaneously. This
can work if you have imap set up in your `.gitconfig` in your home directory.

`git format-patch -C --stdout origin/master | git imap-send`

This is what the imap section of my `.gitconfig` looks like for my Gmail acct.
I'm sure this is a usable template for other imap providers.

    [imap]
      folder = "[Gmail]/Drafts"
      host = imaps://imap.gmail.com
      user = <username>@gmail.com
      pass = <password>
      port = 993
      sslverify = false

Or you can disregard the pipe and send the patches via your favorite email
client.

`git format-patch -C origin/master`
`mutt -H 0001*.patch`

Best,
Dan

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux