# Cover letter

3 messages from 2008-01-08 to 2008-01-08. Participants: Paolo Ciarrocchi, Gustaf Hendeby.
Thread: https://gitlist.dev/t/11526

## Paolo Ciarrocchi, 2008-01-08 12:52

Subject: Cover letter
Message-ID: <4d8e3fd30801080452g71c3d3dx39f2ec805239ef01@mail.gmail.com>
URL: https://gitlist.dev/e/4d8e3fd30801080452g71c3d3dx39f2ec805239ef01%40mail.gmail.com

```
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, 2008-01-08 13:09

Subject: Re: Cover letter
Message-ID: <478375FB.405@isy.liu.se>
URL: https://gitlist.dev/e/478375FB.405%40isy.liu.se
In-Reply-To: <4d8e3fd30801080452g71c3d3dx39f2ec805239ef01@mail.gmail.com>

```
> 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, 2008-01-08 13:13

Subject: Re: Cover letter
Message-ID: <4d8e3fd30801080513q4402b776kfd587c7c558b1f8a@mail.gmail.com>
URL: https://gitlist.dev/e/4d8e3fd30801080513q4402b776kfd587c7c558b1f8a%40mail.gmail.com
In-Reply-To: <478375FB.405@isy.liu.se>

```
On Jan 8, 2008 2:09 PM, Gustaf Hendeby <hendeby@isy.liu.se> wrote:
> > 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/

```
