Skip to contentSkip to conversation

Cover letter

DISCUSSION Paolo Ciarrocchi 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Paolo
http://paolo.ciarrocchi.googlepages.com/
#1 lore raw
Quoted 7 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

#2 lore raw
Quoted 10 lines · Gustaf Hendeby
Quoted 7 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,

Signature · 2 lines
Paolo
http://paolo.ciarrocchi.googlepages.com/