Add support for GIT_ONE_FILESYSTEM
authorLars R. Damerow <lars@pixar.com>
Wed, 17 Mar 2010 19:55:53 +0000 (12:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Mar 2010 16:43:20 +0000 (09:43 -0700)
This patch makes git pay attention to the GIT_ONE_FILESYSTEM environment
variable. When that variable is set, git will stop searching for a
GIT_DIR when it attempts to cross a filesystem boundary.

When working in an environment with too many automount points to make
maintaining a GIT_CEILING_DIRECTORIES list enjoyable, GIT_ONE_FILESYSTEM
gives the option of turning all such attempts off with one setting.

Signed-off-by: Lars R. Damerow <lars@pixar.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found