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

Re: Git autocorrect bug

From
Øystein Walle <oystwa@gmail.com>
Date
Jun 5, 2014, 06:06 UTC
Message-ID
<loom.20140605T080345-353@post.gmane.org>
In-Reply-To
<1401940145.18134.170.camel@stross>
David Turner <dturner <at> twopensource.com> writes:
Show 14 quoted lines
> 
> $ cd [some existing git repo]
> $ git git foo
> WARNING: You called a Git command named 'git', which does not exist.
> Continuing under the assumption that you meant 'init'
> in 0.1 seconds automatically...
> fatal: internal error: work tree has already been set
> Current worktree: /home/dturner/git
> New worktree: /home/dturner/git/foo
> 
> (I am extremely unlikely to fix this bug myself, since it only arises in
> very rare circumstances).
> 
> 

You have help.autocorrect enabled. Then this is expected behaviour (it doesn't seem out of place to me at least)

Running `git config --unset help.autocorrect` should disable it. It may be that you enabled it for only one repo by accident.

Øsse
Previous: David TurnerNext: Øystein Walle
Message 2 of 12 in “Git autocorrect bug”
  1. David TurnerJun 5, 2014
  2. Øystein WalleJun 5, 2014
  3. Øystein WalleJun 5, 2014
  4. Duy NguyenJun 5, 2014
  5. David TurnerJun 5, 2014
  6. Duy NguyenJun 6, 2014
  7. Fix "t0001: test git init when run via an alias"Nguyễn Thái Ngọc Duy, Jun 8, 2014
  8. Junio C HamanoJun 10, 2014
  9. Duy NguyenJun 11, 2014
  10. Junio C HamanoJun 12, 2014
  11. Junio C HamanoJun 10, 2014
  12. Junio C HamanoJun 10, 2014

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.