Shouldn't git-ls-files --others use $GIT_DIR?
- From
Nikolai Weibull <now@bitwi.se>
- Date
- Nov 19, 2006, 13:37 UTC
- Message-ID
- <dbfc82860611190537q77c8a358m184377a21d5a3e11@mail.gmail.com>
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?