threads / discuss / 15382

What do you use to receive mailed patches? (was: What do you use to send git patches?)

Subject: What do you use to receive mailed patches? (was: What do you use to send git patches?)

## tl;dr

3 messages between Sep 5, 2008 and Sep 5, 2008.

replies: 2people: 3as markdown or json

Marc-André Lureau· Sep 5, 2008, 14:15 UTC · lore
Hi!
Thanks Jakub for your answer.
On Fri, Sep 5, 2008 at 5:10 PM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 15 quoted lines
>> If somebody could explain how they handle the git send-mail patches
>> they recieve, I would be thankful. How do you create .mbox files? What
>> is your workflow when you deal with mails?
>
> I almost always use git-format-patch to generate patches (some people
> use git-show or git-diff for proof-of-concept patches), and either use
> git-send-email (I have sendmail configured to send mails via GMail,
> but my computer is single-user machine; you can try sendemail.smpt*
> options instead, if you have appropriate Perl modules installed), or
> use KMail: Message > Insert file, ensuring that in Options I have Word
> wrapping turned off.
>
> In some rare case I used 'stg mail' (also via properly configured
> sendmail).
>

My question was about handling the patches you receive. Sending configuration is quite easy.

Thanks
-- 
Marc-André Lureau
Jakub Narebski· Sep 5, 2008, 14:30 UTC · re: Marc-André Lureau · lore

Re: What do you use to receive mailed patches? (was: What do you use to send git patches?)

Dnia piątek 5. września 2008 16:15, Marc-André Lureau napisał:
Show 19 quoted lines
> On Fri, Sep 5, 2008 at 5:10 PM, Jakub Narebski <jnareb@gmail.com> wrote:
>>>
>>> If somebody could explain how they handle the git send-mail patches
>>> they recieve, I would be thankful. How do you create .mbox files? What
>>> is your workflow when you deal with mails?
>>
>> I almost always use git-format-patch to generate patches (some people
>> use git-show or git-diff for proof-of-concept patches), and either use
>> git-send-email (I have sendmail configured to send mails via GMail,
>> but my computer is single-user machine; you can try sendemail.smpt*
>> options instead, if you have appropriate Perl modules installed), or
>> use KMail: Message> Insert file, ensuring that in Options I have Word
>> wrapping turned off.
>>
>> In some rare case I used 'stg mail' (also via properly configured
>> sendmail).
> 
> My question was about handling the patches you receive. Sending
> configuration is quite easy.
Sorry, my mistake.

Handling received patches is even simpler. In KMail/KNode us Save As (with .txt or .patch extension), the "git am --3way <file>" (or, but only once, "stg import -m < <file>").

-- 
Jakub Narebski
Poland
Pieter de Bie· Sep 5, 2008, 14:33 UTC · re: Marc-André Lureau · lore

Re: What do you use to receive mailed patches? (was: What do you use to send git patches?)

On 5 sep 2008, at 16:15, Marc-André Lureau wrote:
> My question was about handling the patches you receive. Sending
> configuration is quite easy.

I use a little script that pipes the patches I have selected in Mail through git-am, so it's just selecting the patches in my mail client and then 'git apply-patches' in the repo I want them in.

- Pieter

← back to recent threads