From: Thorsten von Eicken <tve@rightscale.com>
To: git@vger.kernel.org
Subject: git status doesn't ignore GIT_DIR directory?
Date: Fri, 22 May 2015 18:03:38 -0700 [thread overview]
Message-ID: <555FD1EA.2060706@rightscale.com> (raw)
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?
next reply other threads:[~2015-05-23 1:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-23 1:03 Thorsten von Eicken [this message]
2015-05-23 2:03 ` git status doesn't ignore GIT_DIR directory? 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
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=555FD1EA.2060706@rightscale.com \
--to=tve@rightscale.com \
--cc=git@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.