summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLars R. Damerow <lars@pixar.com>2010-03-17 19:55:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-03-28 16:43:20 (GMT)
commit8030e44215fe8f34edd57d711a35f2f0f97a0423 (patch)
treea50714bf8e3bb9879707c97c86d9f43bb3d636f7 /Documentation
parent502ffe3491bb6a3aff3f93e7eea19c01cf30c337 (diff)
downloadgit-8030e44215fe8f34edd57d711a35f2f0f97a0423.zip
git-8030e44215fe8f34edd57d711a35f2f0f97a0423.tar.gz
git-8030e44215fe8f34edd57d711a35f2f0f97a0423.tar.bz2
Add support for GIT_ONE_FILESYSTEM
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 4e00b31..bf1b45e 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -530,6 +530,12 @@ git so take care if using Cogito etc.
a GIT_DIR set on the command line or in the environment.
(Useful for excluding slow-loading network directories.)
+'GIT_ONE_FILESYSTEM'::
+ If set to a true value ("true" or a non-zero integer), stop at
+ filesystem boundaries when looking for a repository directory.
+ Like 'GIT_CEILING_DIRECTORIES', it will not affect an explicit
+ respository directory set via 'GIT_DIR' or on the command line.
+
git Commits
~~~~~~~~~~~
'GIT_AUTHOR_NAME'::