From: martin f. krafft Date: Thu, 15 May 2008 18:28:06 GMT Subject: Re: [PATCH] Export GIT_DIR after setting it Message-ID: <20080515182806.GA14799@lapse.madduck.net> In-Reply-To: <20080515175555.GA13003@atjola.homenet> also sprach Björn Steinbrink [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... -- martin | http://madduck.net/ | http://two.sentenc.es/ click the start menu and select 'shut down.' spamtraps: madduck.bogus@madduck.net