summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-02 07:40:24 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-03 03:09:56 (GMT)
commit9f0bb90d161edf8c43f5261d12bf83f14eb02ff4 (patch)
tree5c97ff538c0b92d94520336bad695b1b62821a2a /Documentation
parent3d990f110c2e5b8df83f6ab3ef83497f43c7fd47 (diff)
downloadgit-9f0bb90d161edf8c43f5261d12bf83f14eb02ff4.zip
git-9f0bb90d161edf8c43f5261d12bf83f14eb02ff4.tar.gz
git-9f0bb90d161edf8c43f5261d12bf83f14eb02ff4.tar.bz2
core.prefersymlinkrefs: use symlinks for .git/HEAD
When inspecting a project whose build infrastructure used to assume that .git/HEAD is a symlink ref, core.prefersymlinkrefs in the config file of such a project would help to bisect its history. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index b27b0d5..d1a4bec 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -64,9 +64,11 @@ core.ignoreStat::
slow, such as Microsoft Windows. See gitlink:git-update-index[1].
False by default.
-core.onlyUseSymrefs::
- Always use the "symref" format instead of symbolic links for HEAD
- and other symbolic reference files. True by default.
+core.preferSymlinkRefs::
+ Instead of the default "symref" format for HEAD
+ and other symbolic reference files, use symbolic links.
+ This is sometimes needed to work with old scripts that
+ expect HEAD to be a symbolic link.
core.repositoryFormatVersion::
Internal variable identifying the repository format and layout