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

Re: Minor bug with help.autocorrect.

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 21, 2015, 16:10 UTC
Message-ID
<xmqqsi7c7hc4.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CA+cck7Ex4UO9BAzZ1kq5jw1vYqFb+mbzNQh-RvYAvK5v2T4G0g@mail.gmail.com>
Bjørnar Snoksrud <snoksrud@gmail.com> writes:
Show 18 quoted lines
> If you mis-type a git command starting with a non-letter, git
> internals will spit out some errors at you.
>
> $ git 5fetch
> error: invalid key: pager.5fetch
> error: invalid key: alias.5fetch
> git: '5fetch' is not a git command. See 'git --help'.
>
> Did you mean this?
>         fetch
>
> $ git \#fetch
> error: invalid key: pager.#fetch
> error: invalid key: alias.#fetch
> git: '#fetch' is not a git command. See 'git --help'.
>
> Did you mean this?
>         fetch

Thanks. I somehow thought that we had some discussion on this earlier, perhaps

  http://thread.gmane.org/gmane.comp.version-control.git/263416/focus=263438

Peff, do you remember what (if anything) we decided to do about this? I unfortunately don't X-<.

Previous: Bjørnar SnoksrudNext: Jeff King
Message 2 of 7 in “Minor bug with help.autocorrect.”
  1. Bjørnar SnoksrudAug 19, 2015
  2. Junio C HamanoAug 21, 2015
  3. Jeff KingAug 21, 2015
  4. Junio C HamanoAug 21, 2015
  5. Jeff KingAug 24, 2015
  6. Jeff KingAug 24, 2015
  7. Junio C HamanoAug 24, 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.