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
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Aug 17, 2011, 09:58 UTC
Message-ID
<vpq62lwjr52.fsf@bauges.imag.fr>
In-Reply-To
<4E4B86F1.2010802@st.com>
vireshk <viresh.kumar@st.com> writes:
> 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.

git send-email could probably issue a warning if the same patch is mentionned twice, but I don't think it's sane to try to silently autocorrect user's mistake.

If users get used to "git send-email 1.patch 1.patch" sending the email only once, then what should be the expected behavior of

  git send-email 1.patch ./1.patch
  git send-email 1.patch symlink-to-1.patch
?

The nice thing with a warning is that you can't really blame the tool for not issuing a warning, while it can be harmfull to have an autocorrection fail in a real user-senario.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: vireshk
Message 4 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.