Re: [PATCH] send-email: ask confirmation if given encoding name is very short

2015-02-18 Thread Jeff King
On Mon, Feb 16, 2015 at 02:34:14PM -0800, Junio C Hamano wrote: > Sometimes people respond "y" (or "yes") when asked > this question: > > Which 8bit encoding should I declare [UTF-8]? > > We already have a mechanism to avoid accepting a mistyped e-mail > address (we ask to confirm when the g

[PATCH] send-email: ask confirmation if given encoding name is very short

2015-02-16 Thread Junio C Hamano
Sometimes people respond "y" (or "yes") when asked this question: Which 8bit encoding should I declare [UTF-8]? We already have a mechanism to avoid accepting a mistyped e-mail address (we ask to confirm when the given address lacks "@" in it); reuse it to trigger the same confirmation when g