threads / discuss / 11526

Cover letter

Subject: Cover letter

## tl;dr

3 messages between Jan 8, 2008 and Jan 8, 2008.

replies: 2people: 2as markdown or json

Paolo Ciarrocchi· Jan 8, 2008, 12:52 UTC · lore

Hi all, I'm going to experiment the git-send-email command quite soon and I have a doubt that I would like to clarify.

I'm used to the following work flow:
- git branch trivial
- git checkout trivial
- work work work
- git gui to commit all the changes
- git-format-patch -n -o /home/paolo/patches
- open the MUA
- write the cover letter
- import the N patches
- send all the patches
- collect feedback
- work work work
- git rebase -i
- back to the git gui to commit all the changes line

This is working fine but since I'm going to push out a queue of patches it would be nicer to script everything with git-send-email.

I know I have to configure git in order to use the gmail's smtp server, I know how to tell git-send-email where to pick up the patches but I fail to understand how I can write a cover letter and let it be part of the patch queue.

Any hint?
Thanks in advance.
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/
Gustaf Hendeby· Jan 8, 2008, 13:09 UTC · re: Paolo Ciarrocchi · lore

Re: Cover letter

Show 7 quoted lines
> This is working fine but since I'm going to push out a queue of patches
> it would be nicer to script everything with git-send-email.
> 
> I know I have to configure git in order to use the gmail's smtp server,
> I know how to tell git-send-email where to pick up the patches but I fail
> to understand how I can write a cover letter and let it be part of the patch
> queue.

Use the switch --compose to git send-email, that should open up an editor and let you write a cover letter to go with the patches.

/Gustaf
Paolo Ciarrocchi· Jan 8, 2008, 13:13 UTC · re: Gustaf Hendeby · lore

Re: Cover letter

On Jan 8, 2008 2:09 PM, Gustaf Hendeby <hendeby@isy.liu.se> wrote:
Show 10 quoted lines
> > This is working fine but since I'm going to push out a queue of patches
> > it would be nicer to script everything with git-send-email.
> >
> > I know I have to configure git in order to use the gmail's smtp server,
> > I know how to tell git-send-email where to pick up the patches but I fail
> > to understand how I can write a cover letter and let it be part of the patch
> > queue.
>
> Use the switch --compose to git send-email, that should open up an
> editor and let you write a cover letter to go with the patches.
Not enough coffe :-)

The option is there and well documented. Thanks Gustaf.

Ciao,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/

← back to recent threads