Re: Invalid responses to 8bit encoding and In-Reply-To questions
- From
- Guilhem Bichot <guilhem.bichot@oracle.com>
- Date
- Apr 1, 2015, 10:53 UTC
- Message-ID
- <loom.20150401T125113-830@post.gmane.org>
- In-Reply-To
- <xmqqa90to78v.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster <at> pobox.com> writes:
Show 8 quoted lines
>
> Geert Uytterhoeven <geert <at> linux-m68k.org> writes:
>
> > | Oops, I'm afraid automatic-I replied "y" to the git-send-email question
> > | "Which 8bit encoding should I declare [UTF-8]?"
> > | (happened before with the In-Reply-To questions ;-(
> >
> > Would it be possible to reject obviously wrong replies ("y", "yes", "n","no")
Show 8 quoted lines
> > to the 8bit encoding and In-Reply-To questions?
>
> There is no canned configuration to do so, if that is what you are
> asking.
>
> It would be possible to do so with code changes to git-send-email;
> look for "ask(", "valid_re", and "confirm_only" to see how they are
> used in existing code that ask questions, if you are interested.Today I stumbled on exactly this; a colleague had probably typed "yes" when inappropriate, and the email I received from git-send-email had:
Content-Type: text/plain; charset=yes
then "git am" complained.