git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org, gitster@pobox.com
Subject: Re: [PATCH 3/5] Clean up work-tree handling
Date: Thu, 26 Jul 2007 02:56:50 -0400	[thread overview]
Message-ID: <20070726065650.GC18114@spearce.org> (raw)
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.

  reply	other threads:[~2007-07-26  6:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-26  6:30 [PATCH 3/5] Clean up work-tree handling Johannes Schindelin
2007-07-26  6:56 ` Shawn O. Pearce [this message]
2007-07-26  7:06 ` Junio C Hamano
2007-07-26 14:01   ` Johannes Schindelin
2007-07-26 18:56     ` Junio C Hamano
2007-07-26 22:09 ` Matthias Lederhofer
2007-07-26 22:31   ` Junio C Hamano
2007-07-27 10:50   ` Johannes Schindelin
2007-07-27 19:20     ` Junio C Hamano
2007-07-27 19:32       ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070726065650.GC18114@spearce.org \
    --to=spearce@spearce.org \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).