Thread (3 messages) flat view 3 messages, 2 authors, 2016-08-11

Shouldn't git-ls-files --others use $GIT_DIR?

From: Nikolai Weibull <hidden>
Date: 2016-08-11 19:34:28

If I do

GIT_DIR=$HOME/projects/<project>/.git git ls-files --others

from, e.g., $HOME, I get a list of all the files in $HOME and its
subdirectories that aren't in said git repository.  Shouldn't --others
use $GIT_DIR, instead of ".", or am I missing something here?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help