git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cover letter and cc list

From
Olaf Hering <olaf@aepfle.de>
Date
Mar 23, 2015, 08:18 UTC
Message-ID
<20150323081840.GB9332@aepfle.de>
In-Reply-To
<xmqqpp83ee2z.fsf@gitster.dls.corp.google.com>
On Fri, Mar 20, Junio C Hamano wrote:
Show 16 quoted lines
> Olaf Hering <olaf@aepfle.de> writes:
> 
> > What does it take to send the cover letter to all people which are
> > listed in the Cc: list of the following patches? Each patch has a
> > different Cc: list. The "git send-email --help" command suggests that
> > this cmdline should do it. But the cover letter goes just to the address
> > listed in --to=:
> >
> > env TMPDIR=/dev/shm LC_ALL=C git send-email -M --stat --annotate \
> >         --cover-letter --cc-cover --to=$address \
> >         $base..$head
> 
> First step is not to drive format-patch from within send-email I
> would think.  Instead prepare them in files in a directory (with
> format-patch -o $dir).  You can edit Cc: header in 0000-*.patch
> message while you proof-read what you are going to send out.

Thanks. Then I misinterpreted what --cc-cover actually means. All Cc: lines have to be present in the cover letter already. Would be nice if git would run a command like this to put the list into the coverletter:

 # git log --format=%b $base..$head | grep -iw ^cc: | sort -u
In the meantime I will remember to do that step manually.
Olaf
Previous: Junio C HamanoNext: Vineet Gupta
Message 3 of 4 in “cover letter and cc list”
  1. Olaf HeringMar 20, 2015
  2. Junio C HamanoMar 20, 2015
  3. Olaf HeringMar 23, 2015
  4. Vineet GuptaFeb 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.