Re: [PATCH 2/2] send-email: add series-cc-cmd option
- From
Joe Perches <joe@perches.com>
- Date
- Nov 12, 2012, 23:13 UTC
- Message-ID
- <1352761982.18715.20.camel@joe-AO722>
- In-Reply-To
- <CAMP44s0B42yt8eugYSjYweoX8WOXXF1f-0N-5FuUyrY5rgCiow@mail.gmail.com>
On Tue, 2012-11-13 at 00:03 +0100, Felipe Contreras wrote:
Show 28 quoted lines
> On Mon, Nov 12, 2012 at 11:52 PM, Joe Perches <joe@perches.com> wrote: > > On Tue, 2012-11-13 at 03:21 +0530, Ramkumar Ramachandra wrote: > >> Felipe Contreras wrote: > >> > cc-cmd is only per-file, and many times receipients get lost without > >> > seing the full patch series. > >> > >> s/seing/seeing > >> > >> > [...] > >> > >> Looks good otherwise. > > > > s/receipients/recipients/ too > > > > Practically this is ok but I think it's unnecessary. > > > > Output from git format-patch is always in a single > > directory. > > A temporary directory. > > > My work flow is to use a script for --to and --cc > > lines that can be set to emit the same addresses for > > all files in a patch series or generate different > > addresses per patch file. > > For --to-cmd and --cc-cmd? So basically you check the dirname of the > argument passed?
yes. basename and dirname
> While that works, it means you have to run the same command multiple > times, one for each mail.
Shrug. it's not a generally significant cost. The script could also output the addresses to yet another file.
> If the command is using something expensive such as 'git blame' and > you have many patches, this is particularly bad. Also, it's not > elegant :)
Elegant is a beholder viewpoint.
cheers, Joe