From: Junio C Hamano <gitster@pobox•com>
To: Stefan Beller <sbeller@google•com>
Cc: "git\@vger.kernel.org" <git@vger•kernel.org>
Subject: Re: [PATCH] send-email: detect and offer to skip backup files
Date: Tue, 12 Apr 2016 18:38:13 -0700 [thread overview]
Message-ID: <xmqqvb3ml24a.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <CAGZ79kZ+_JW-5BWdXse++_KaATO+qDhNtTz_k5gX507sObZyzA@mail.gmail.com> (Stefan Beller's message of "Tue, 12 Apr 2016 16:05:21 -0700")
Stefan Beller <sbeller@google•com> writes:
> 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).
prev parent reply other threads:[~2016-04-13 1:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-12 22:53 [PATCH] send-email: detect and offer to skip backup files Junio C Hamano
2016-04-12 23:00 ` Eric Sunshine
2016-04-13 1:36 ` Junio C Hamano
2016-04-12 23:05 ` Stefan Beller
2016-04-13 1:38 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqvb3ml24a.fsf@gitster.mtv.corp.google.com \
--to=gitster@pobox$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=sbeller@google$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox