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

Re: [PATCH] send-email: detect and offer to skip backup files

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 13, 2016, 01:38 UTC
Message-ID
<xmqqvb3ml24a.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAGZ79kZ+_JW-5BWdXse++_KaATO+qDhNtTz_k5gX507sObZyzA@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 13 quoted lines
> Once I made the mistake to not remove a previous patch series I had,
> such that there was:
>
>   0000-coverletter.patch (newly worded)
>   0001-bla-from-new-series
>   0001-foo-from-old-series
>   0002-...
>   ...
>
> `git send-email 0*` then sent out a totally bogus series for me.
>
> As another user friendly helper we could warn/abort if the first <n> characters
> are the same as the previous patch as well?

I think that would be one of the many things that can be built on top. For example, you could notice that all messages begin with 4-digit and a dash, and send such a set to a special case (where patches having duplicated numbers are signalled as a potential error).

Previous: Stefan Beller
Message 5 of 5 in “send-email: detect and offer to skip backup files”
  1. send-email: detect and offer to skip backup filesJunio C Hamano, Apr 12, 2016
  2. Eric SunshineApr 12, 2016
  3. Junio C HamanoApr 13, 2016
  4. Stefan BellerApr 12, 2016
  5. Junio C HamanoApr 13, 2016

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.