summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-02 22:04:34 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-02 22:04:34 -0700
commitfd9088a8c74a2d508ff50f53afbca93826603b30 (patch)
treeb8211a4c19ec1659f52612cac6cb6881ca9c41d2 /config.c
parentMerge branch 'jc/grep' into next (diff)
parentcore.prefersymlinkrefs: use symlinks for .git/HEAD (diff)
downloadtgif-fd9088a8c74a2d508ff50f53afbca93826603b30.tar.xz
Merge branch 'jc/symref' into next
* jc/symref: core.prefersymlinkrefs: use symlinks for .git/HEAD
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 253c48a613..47734140dd 100644
--- a/config.c
+++ b/config.c
@@ -227,8 +227,8 @@ int git_default_config(const char *var, const char *value)
return 0;
}
- if (!strcmp(var, "core.symrefsonly")) {
- only_use_symrefs = git_config_bool(var, value);
+ if (!strcmp(var, "core.prefersymlinkrefs")) {
+ prefer_symlink_refs = git_config_bool(var, value);
return 0;
}