aboutsummaryrefslogtreecommitdiff
path: root/cache.h
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 /cache.h
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 'cache.h')
-rw-r--r--cache.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index ff9e145be..d0d48b4c8 100644
--- a/cache.h
+++ b/cache.h
@@ -554,7 +554,12 @@ extern enum branch_track git_branch_track;
extern enum rebase_setup_type autorebase;
extern enum push_default_type push_default;
-extern int unreliable_hardlinks;
+enum object_creation_mode {
+ OBJECT_CREATION_USES_HARDLINKS = 0,
+ OBJECT_CREATION_USES_RENAMES = 1,
+};
+
+extern enum object_creation_mode object_creation_mode;
#define GIT_REPO_VERSION 0
extern int repository_format_version;