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

Re: [PATCH] send-email: allow use of basic email list in --cc --to and --bcc

From
MLMathieu Liénard--Mayor <mathieu.lienard--mayor@ensimag.fr>
Date
Jun 18, 2013, 10:54 UTC
Message-ID
<0ad4bd4930efddcbaa5ed958c6758894@ensibm.imag.fr>
In-Reply-To
<CALkWK0=vytkxM3yzVaed+i3Q+RpvH=tSLndf=vUmiYC=sn=nFg@mail.gmail.com>
Le 2013-06-18 12:47, Ramkumar Ramachandra a écrit :
Show 19 quoted lines
> Jorge-Juan.Garcia-Garcia@ensimag.imag.fr wrote:
>> diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
>> index 9f46f22..87641bc 100755
>> --- a/t/t9001-send-email.sh
>> +++ b/t/t9001-send-email.sh
>> @@ -1349,4 +1349,39 @@ test_expect_success $PREREQ 
>> 'sendemail.aliasfile=~/.mailrc' '
>>         grep "^!someone@example\.org!$" commandline1
>>  '
>>
>> -test_done
>> +test_expect_success $PREREQ 'setup expected-list' '
>> [...]
>> +test_expect_success $PREREQ 'use email list in --cc --to and --bcc' 
>> '
>
> What is the meaning of this test?  It looks like you've run git
> send-email twice in exactly the same way, and compared their outputs
> (after smudging the unstable headers).

The first one uses one flag per email address, just like we had to do so far. The second one uses one email-list per flag, which is the new feature we're introducing. Then we compare the output of the two, and expect it to be exactly the same.

Shouldn't
$ git send-email --cc 'foo@example.com' --cc 'bar@example.com'
and
$ git send-email --cc 'foo@example.com, bar@example.com'
have the exact same effect ?
-- 
Mathieu Liénard--Mayor,
2nd year at Grenoble INP - ENSIMAG
(+33)6 80 56 30 02
Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 7 of 13 in “send-email: allow use of basic email list in --cc --to and --bcc”
  1. send-email: allow use of basic email list in --cc --to and --bccjorge-juan.garcia-garcia@ensimag.imag.fr, Jun 18, 2013
  2. Ramkumar RamachandraJun 18, 2013
  3. Mathieu Liénard--MayorJun 18, 2013
  4. Ramkumar RamachandraJun 18, 2013
  5. benoît personJun 18, 2013
  6. Ramkumar RamachandraJun 18, 2013
  7. Mathieu Liénard--MayorJun 18, 2013
  8. Ramkumar RamachandraJun 18, 2013
  9. Matthieu MoyJun 18, 2013
  10. Ramkumar RamachandraJun 18, 2013
  11. Junio C HamanoJun 18, 2013
  12. Matthieu MoyJun 18, 2013
  13. Junio C HamanoJun 18, 2013

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.