summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-03-07 12:49:57 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-07 12:49:57 -0800
commit5d4ef1721ad873b8d0db1c4fc55ad9316accf2cb (patch)
tree1d07a859334c202d771e25829631385a2d79b542 /Documentation
parentgitweb/README: remove reference to git.kernel.org (diff)
parentProvide a mechanism to turn off symlink resolution in ceiling paths (diff)
downloadtgif-5d4ef1721ad873b8d0db1c4fc55ad9316accf2cb.tar.xz
Merge branch 'mh/maint-ceil-absolute' into maint
* mh/maint-ceil-absolute: Provide a mechanism to turn off symlink resolution in ceiling paths
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git.txt19
1 files changed, 13 insertions, 6 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 608fa3963d..e0135150b1 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -674,12 +674,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