Re: Git autocorrect bug

2014-06-06 Thread Duy Nguyen
On Thu, Jun 05, 2014 at 04:28:23AM -0400, David Turner wrote: > On Thu, 2014-06-05 at 13:29 +0700, Duy Nguyen wrote: > > On Thu, Jun 5, 2014 at 10:49 AM, David Turner > > wrote: > > > fatal: internal error: work tree has already been set > > > Current worktree: /home/dturner/git > > > New worktre

Re: Git autocorrect bug

2014-06-05 Thread David Turner
On Thu, 2014-06-05 at 13:29 +0700, Duy Nguyen wrote: > On Thu, Jun 5, 2014 at 10:49 AM, David Turner > 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?

Re: Git autocorrect bug

2014-06-04 Thread Duy Nguyen
On Thu, Jun 5, 2014 at 10:49 AM, David Turner 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? I think I might know what's going on here. But do you expect "git gi

Re: Git autocorrect bug

2014-06-04 Thread Øystein Walle
David Turner twopensource.com> writes: > > (I am extremely unlikely to fix this bug myself, since it only arises in > very rare circumstances). > I see now that `git init foo` and `git git foo` (with git corrected to init) behave differently. Is this the bug you're referring to? -- To unsubs

Re: Git autocorrect bug

2014-06-04 Thread Øystein Walle
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

Git autocorrect bug

2014-06-04 Thread David Turner
$ 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 worktr