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

Re: [PATCH 3/5] Clean up work-tree handling

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 26, 2007, 06:56 UTC
Message-ID
<20070726065650.GC18114@spearce.org>
In-Reply-To
<Pine.LNX.4.64.0707260729150.14781@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> In related news, there is a long standing bug fixed: when in
> .git/bla/x.git/, which is a bare repository, git formerly assumed
> ../.. to be the appropriate git dir.

Heh. I spent about 10 minutes last week trying to understand why git-new-workdir was failing horribly on one user's system.

Turns out they once managed to do:
  cd /
  git init
a long, long, long time ago and just didn't notice it until now.  git
kept finding /.git rather than the .git it was supposed to locate,
which was a bare repository in $HOME/.storage-pool/dayjob.git.
 
-- 
Shawn.
Previous: Johannes SchindelinNext: Junio C Hamano
Message 2 of 10 in “Clean up work-tree handling”
  1. 3/5 Clean up work-tree handlingJohannes Schindelin, Jul 26, 2007
  2. Shawn O. PearceJul 26, 2007
  3. Junio C HamanoJul 26, 2007
  4. Johannes SchindelinJul 26, 2007
  5. Junio C HamanoJul 26, 2007
  6. Matthias LederhoferJul 26, 2007
  7. Junio C HamanoJul 26, 2007
  8. Johannes SchindelinJul 27, 2007
  9. Junio C HamanoJul 27, 2007
  10. Johannes SchindelinJul 27, 2007

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.