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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

 nikolai
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]