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

Re: More use of levenshtein?

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 2, 2012, 22:55 UTC
Message-ID
<7vvcj9z5l5.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CACsJy8DuDzxrcb8kbWhH9N=1APQeEOUZzUvSaKCJ7LJ9rc9tKg@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
Show 5 quoted lines
> Yes, please. Also to correct misspelled option names.
>
> In case there are more than one candidate, we should print extra info
> (for commands or options, it's one line description; for refs,
> probably commit subject line)

I do not think either is a good idea. We are talking about "typo", the user knew what he wanted, just didn't spell it correctly.

Previous: David Michael Barr
Message 4 of 4 in “More use of levenshtein?”
  1. Junio C HamanoJun 1, 2012
  2. Nguyen Thai Ngoc DuyJun 2, 2012
  3. David Michael BarrJun 2, 2012
  4. Junio C HamanoJun 2, 2012

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.