aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-02-27 09:47:27 -0800
committerJunio C Hamano <gitster@pobox.com>2013-02-27 09:47:28 -0800
commit3e07d2683de55f0e21b13a6724b59bdcd548b5d8 (patch)
treec176a8b9694174ecc8cc598e1cc267aadf1220df /Documentation/git.txt
parent27db5a02c73b35fe6b004fca66a824e022cc3c01 (diff)
parent7ec30aaa5ba2a71287879d7bd9a5c55363ea1bbe (diff)
downloadgit-3e07d2683de55f0e21b13a6724b59bdcd548b5d8.tar.gz
git-3e07d2683de55f0e21b13a6724b59bdcd548b5d8.tar.xz
Merge branch 'mh/maint-ceil-absolute'
An earlier workaround designed to help people who list logical directories that will not match what getcwd(3) returns in the GIT_CEILING_DIRECTORIES had an adverse effect when it is slow to stat and readlink a directory component of an element listed on it. * mh/maint-ceil-absolute: Provide a mechanism to turn off symlink resolution in ceiling paths
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt19
1 files changed, 13 insertions, 6 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 0847cdcc6..79aa8cd14 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -678,12 +678,19 @@ Git so take care if using Cogito etc.
The '--namespace' command-line option also sets this value.
'GIT_CEILING_DIRECTORIES'::
- This should be a colon-separated list of absolute paths.
- If set, it is a list of directories that Git should not chdir
- up into while looking for a repository directory.
- It will not exclude the current working directory or
- a GIT_DIR set on the command line or in the environment.
- (Useful for excluding slow-loading network directories.)
+ This should be a colon-separated list of absolute paths. If
+ set, it is a list of directories that Git should not chdir up
+ into while looking for a repository directory (useful for
+ excluding slow-loading network directories). It will not
+ exclude the current working directory or a GIT_DIR set on the
+ command line or in the environment. Normally, Git has to read
+ the entries in this list and resolve any symlink that
+ might be present in order to compare them with the current
+ directory. However, if even this access is slow, you
+ can add an empty entry to the list to tell Git that the
+ subsequent entries are not symlinks and needn't be resolved;
+ e.g.,
+ 'GIT_CEILING_DIRECTORIES=/maybe/symlink::/very/slow/non/symlink'.
'GIT_DISCOVERY_ACROSS_FILESYSTEM'::
When run in a directory that does not have ".git" repository