Thread (1 message) 1 message, 1 author, 2016-09-19

Re: [Bug] Custom git-dir directory shouldn't be listed as“untracked”

From: Junio C Hamano <hidden>
Date: 2016-09-19 17:45:37

Nicolas Cuillery [off-list ref] 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).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help