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

Re: [PATCH 2/2] send-email: add series-cc-cmd option

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 13, 2012, 01:01 UTC
Message-ID
<CAMP44s1gF7scb2RtZ9V9cz58y8KQuQfRk_4wsCML1JyheScP=g@mail.gmail.com>
In-Reply-To
<7vd2zigwx6.fsf@alter.siamese.dyndns.org>
On Tue, Nov 13, 2012 at 1:37 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 24 quoted lines
> Joe Perches <joe@perches.com> writes:
>
>> 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.
>
> Sorry, but I do not see how the usefulness (or necessity) of this
> new option is connected to the fact that you can tell the command to
> write the patches into a single (possibly new) directory.  Care to
> explain?

Basically 'git send-email' would do something like this: git format-patch -10 -o /tmp for x in /tmp/*; do cc_cmd $x; done

And the cc-cmd would do something like: cc_cmd() { do_stuff_with $(dirname $1)/*.patch }

-- 
Felipe Contreras
Previous: Junio C Hamano
Message 11 of 11 in “send-email: new series-cc-cmd option”
  1. 0/2 send-email: new series-cc-cmd optionFelipe Contreras, Nov 11, 2012
  2. 1/2 send-email: refactor recipients_cmd()Felipe Contreras, Nov 11, 2012
  3. 2/2 send-email: add series-cc-cmd optionFelipe Contreras, Nov 11, 2012
  4. Ramkumar RamachandraNov 12, 2012
  5. Joe PerchesNov 12, 2012
  6. Felipe ContrerasNov 12, 2012
  7. Joe PerchesNov 12, 2012
  8. Felipe ContrerasNov 12, 2012
  9. Joe PerchesNov 12, 2012
  10. Junio C HamanoNov 13, 2012
  11. Felipe ContrerasNov 13, 2012

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.