aboutsummaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2009-04-28 00:32:25 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-29 16:50:07 -0700
commit348df16679cf35b7bba7afea99638e7d81dc3d33 (patch)
tree81bd57136af669f74c387061e6cd3dd502e23882 /environment.c
parent26e47f25402ad51c6cfa1cd784a3431dd00deeb2 (diff)
downloadgit-348df16679cf35b7bba7afea99638e7d81dc3d33.tar.gz
git-348df16679cf35b7bba7afea99638e7d81dc3d33.tar.xz
Rename core.unreliableHardlinks to core.createObject
"Unreliable hardlinks" is a misleading description for what is happening. So rename it to something less misleading. Suggested by Linus Torvalds. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/environment.c b/environment.c
index 10578d24d..801a005ef 100644
--- a/environment.c
+++ b/environment.c
@@ -43,10 +43,10 @@ unsigned whitespace_rule_cfg = WS_DEFAULT_RULE;
enum branch_track git_branch_track = BRANCH_TRACK_REMOTE;
enum rebase_setup_type autorebase = AUTOREBASE_NEVER;
enum push_default_type push_default = PUSH_DEFAULT_UNSPECIFIED;
-#ifndef UNRELIABLE_HARDLINKS
-#define UNRELIABLE_HARDLINKS 0
+#ifndef OBJECT_CREATION_MODE
+#define OBJECT_CREATION_MODE OBJECT_CREATION_USES_HARDLINKS
#endif
-int unreliable_hardlinks = UNRELIABLE_HARDLINKS;
+enum object_creation_mode object_creation_mode = OBJECT_CREATION_MODE;
/* Parallel index stat data preload? */
int core_preload_index = 0;