git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git status doesn't ignore GIT_DIR directory?
@ 2015-05-23  1:03 Thorsten von Eicken
  2015-05-23  2:03 ` Junio C Hamano
  0 siblings, 1 reply; 10+ messages in thread
From: Thorsten von Eicken @ 2015-05-23  1:03 UTC (permalink / raw)
  To: git

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 <file>..." to include in what will be committed)

         _git/

nothing added to commit but untracked files present (use "git add" to track)

This doesn't seem to make sense, shouldn't git ignore whatever $GIT_DIR 
points to? Or is there some other magic option I need to use for it to 
do what I expect?

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-23 17:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-23  1:03 git status doesn't ignore GIT_DIR directory? Thorsten von Eicken
2015-05-23  2:03 ` Junio C Hamano
2015-05-23  2:22   ` Duy Nguyen
2015-05-23  4:41     ` Thorsten von Eicken
2015-05-23 11:53       ` Duy Nguyen
2015-05-23  5:39     ` Mike Hommey
2015-05-23 11:42       ` Duy Nguyen
2015-05-23 16:54       ` Junio C Hamano
2015-05-23 17:00         ` Junio C Hamano
2015-05-23 17:39           ` Junio C Hamano

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).