Re: Git autocorrect bug
- From
David Turner <dturner@twopensource.com>
- Date
- Jun 5, 2014, 08:28 UTC
- Message-ID
- <1401956903.18134.173.camel@stross>
- In-Reply-To
- <CACsJy8BSHAUiF_BR_Vi4_LOW0CSP-N09UpAg-UJvZJ1fvipejg@mail.gmail.com>
On Thu, 2014-06-05 at 13:29 +0700, Duy Nguyen wrote:
Show 6 quoted lines
> On Thu, Jun 5, 2014 at 10:49 AM, David Turner <dturner@twopensource.com> wrote: > > fatal: internal error: work tree has already been set > > Current worktree: /home/dturner/git > > New worktree: /home/dturner/git/foo > > This is the part you complain about, right?
Yes.
> I think I might know > what's going on here. But do you expect "git git foo" to turn to "git > init foo" in the first place?
Yes. That is, I generally expect autocorrect to work without internal errors. This one was a genuine typo (I typed git, got distracted, and typed it again).
(I actually think "git git" should just be "git", and I know some people have a command for that; I should set that up)