From: Linus Torvalds Date: Tue, 17 Jul 2007 22:34:36 GMT Subject: Re: [PATCH] git-gui: Handle git versions of the form n.n.n.GIT Message-ID: In-Reply-To: <20070717214510.GV19073@lavos.net> On Tue, 17 Jul 2007, Brian Downing wrote: > > D'oh, now I know why. I'm trying git to keep my home directory config > stuff versioned, so GIT-VERSION-GEN, failing to find a .git directory > in my tar export, digs down and finds my home directory one instead. Ok, that's definitely a git misfeature. I think we could probably add a check something like: - once we have found a .git directory by walking up the tree, the directory we actually came _from_ should then be tracked by that git directory. but I wonder how to do that properly (we would probably need to load the index, which we generally don't want to do). Linus