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