Re: git status doesn't ignore GIT_DIR directory?

2015-05-22 Thread Thorsten von Eicken
On 5/22/2015 7:22 PM, Duy Nguyen wrote: > On Fri, May 22, 2015 at 07:03:48PM -0700, Junio C Hamano wrote: >> As far as I know, GIT_DIR was prepared as a mechanism to point at >> another .git directory that does not live inside the working tree, not >> as a mechanism to rename it to arbitrary name.

git status doesn't ignore GIT_DIR directory?

2015-05-22 Thread Thorsten von Eicken
I renamed my .git directory to _git and I'm surprised that git status thinks that it's an untracked file: $ GIT_DIR=_git git status On branch master Your branch is up-to-date with 'origin/master'. Untracked files: (use "git add ..." to include in what will be committed) _git/ nothin