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.