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-05 21:37:08 (GMT)
commite388c7382563b7497397c78bc078d0679dc891a8 (patch)
treed632fde11831ec54fd46275cf9d90118318c93b7 /Documentation
parent7ebdba614223f867d3f19963647406df1d0e5ce0 (diff)
downloadgit-e388c7382563b7497397c78bc078d0679dc891a8.zip
git-e388c7382563b7497397c78bc078d0679dc891a8.tar.gz
git-e388c7382563b7497397c78bc078d0679dc891a8.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> (cherry picked from 9f0bb90d161edf8c43f5261d12bf83f14eb02ff4 commit)
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