From: Øystein Walle Date: Thu, 05 Jun 2014 06:06:13 GMT Subject: Re: Git autocorrect bug Message-ID: In-Reply-To: <1401940145.18134.170.camel@stross> David Turner twopensource.com> writes: > > $ 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