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

Re: Issue: Mails sent twice if patch is mentioned twice while sending mail.

From
Vvireshk <viresh.kumar@st.com>
Date
Aug 17, 2011, 09:16 UTC
Message-ID
<4E4B86F1.2010802@st.com>
In-Reply-To
<CALkWK0nv=NrCzxfePL50GiJya+DbqdOmSMjPVEa-Sf1Qm5oAvg@mail.gmail.com>
On 8/17/2011 2:22 PM, Ramkumar Ramachandra wrote:
Show 14 quoted lines
> Viresh kumar writes:
>> git send-email --to=abc@xyz.com 0001-xyz.patch 0001-xyz.patch
>>
>> What should be the desired behavior of this command, Should we get
>> mail only once or twice?
> 
> I'd expect it to send out two emails.  Why should 'git send-email'
> check the supplied command-line arguments for duplicates?  I can't
> think of a usecase for it. It's a simple Perl script that mails out
> the mbox files specified on the command-line.  Could you tell us your
> usecase?  If it's a shell script that calls 'git send-email' with
> duplicate arguments, I think you should fix the shell script, not 'git
> send-email'.
> 
Hi Ram,

Actually i did this by mistake once and thought git send-email should have taken care of this. I may be wrong, but it was just an thought.

-- viresh

Previous: Ramkumar RamachandraNext: Matthieu Moy
Message 3 of 4 in “Issue: Mails sent twice if patch is mentioned twice while sending mail.”
  1. viresh kumarAug 17, 2011
  2. Ramkumar RamachandraAug 17, 2011
  3. vireshkAug 17, 2011
  4. Matthieu MoyAug 17, 2011

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.