From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: "martin f. krafft" <madduck@madduck.net>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] Export GIT_DIR after setting it
Date: Thu, 15 May 2008 20:44:23 +0200 [thread overview]
Message-ID: <20080515184423.GA13535@atjola.homenet> (raw)
In-Reply-To: <20080515182806.GA14799@lapse.madduck.net>
On 2008.05.15 19:28:06 +0100, martin f. krafft wrote:
> also sprach Björn Steinbrink <B.Steinbrink@gmx.de> [2008.05.15.1855 +0100]:
> > It kind of feels like a bug that git-pull does not export GIT_DIR there,
> > but you could probably also argue that it is wrong not to have GIT_DIR
> > set in the environment when using a non-standard name for the git dir.
> > Hm?
>
> Ah, but it is a standard name: .
>
> If git does not find .git, it *does* seem to look into the current
> directory too; that's why commands work inside bare repos...
Yeah, but this is not a bare repo. As far as I understood Junio, it is
at least an error to use GIT_DIR without GIT_WORK_TREE (or
core.worktree), so I'm just thinking that it may also be an error to use
GIT_WORK_TREE (or core.worktree) without GIT_DIR.
Björn
next prev parent reply other threads:[~2008-05-15 18:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-14 23:23 [PATCH] Export GIT_DIR after setting it martin f. krafft
2008-05-15 2:25 ` Junio C Hamano
2008-05-15 10:15 ` martin f. krafft
2008-05-15 17:23 ` Junio C Hamano
2008-05-15 17:55 ` Björn Steinbrink
2008-05-15 18:28 ` martin f. krafft
2008-05-15 18:44 ` Björn Steinbrink [this message]
2008-05-16 21:50 ` martin f. krafft
2008-05-20 16:17 ` martin f. krafft
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=20080515184423.GA13535@atjola.homenet \
--to=b.steinbrink@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=madduck@madduck.net \
/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