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

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)

Previous: Duy NguyenNext: Duy Nguyen
Message 5 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.