Re: [Bug] Custom git-dir directory shouldn't be listed as “untracked”
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 19, 2016, 17:45 UTC
- Message-ID
- <xmqqeg4fg4w6.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CACmQg1hE=ytaatDfUJLkhL0p5c43wZZvgt+8pc5zoo0YFdQw6A@mail.gmail.com>
Nicolas Cuillery <nicolas.cuillery@gmail.com> writes:
> When using the default directory ".git", it logically doesn't appear > in the "git status" command's output. Don't you think it should be the > same when using a custom dir name ?
Not really.
GIT_DIR=<there> mechanism was never meant to be used to name a directory that sitsinside your working tree (an exception is if it is actually ".git" at the top).