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

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

From
Jeff King <peff@peff.net>
Date
Feb 18, 2015, 18:58 UTC
Message-ID
<20150218185812.GC7257@peff.net>
In-Reply-To
<xmqqiof14hax.fsf_-_@gitster.dls.corp.google.com>
On Mon, Feb 16, 2015 at 02:34:14PM -0800, Junio C Hamano wrote:
Show 16 quoted lines
> Sometimes people respond "y<ENTER>" (or "yes<ENTER>") 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 given a very short
> answer.  As a typical charset name is probably at least 4 chars or
> longer (e.g. "UTF8" spelled without the dash, or "Big5"), this would
> prevent such a mistake.
> 
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
> 
>  * Will mark to be merged to 'next'.
Probably belated review, but this looks good to me.
-Peff
Previous: Junio C Hamano
Message 7 of 7 in “Re: [Qemu-devel] [PATCH v3 0/7] cpu: add device_add foo-x86_64-cpu support”
  1. Eric BlakeFeb 5, 2015
  2. Junio C HamanoFeb 5, 2015
  3. Jeff KingFeb 5, 2015
  4. Junio C HamanoFeb 5, 2015
  5. Jeff KingFeb 6, 2015
  6. send-email: ask confirmation if given encoding name is very shortJunio C Hamano, Feb 16, 2015
  7. Jeff KingFeb 18, 2015

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.