summaryrefslogtreecommitdiff
path: root/environment.c
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 /environment.c
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 'environment.c')
-rw-r--r--environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.c b/environment.c
index 6df6478..444c99e 100644
--- a/environment.c
+++ b/environment.c
@@ -13,7 +13,7 @@ char git_default_email[MAX_GITNAME];
char git_default_name[MAX_GITNAME];
int trust_executable_bit = 1;
int assume_unchanged = 0;
-int only_use_symrefs = 0;
+int prefer_symlink_refs = 0;
int warn_ambiguous_refs = 1;
int repository_format_version = 0;
char git_commit_encoding[MAX_ENCODING_LENGTH] = "utf-8";