summaryrefslogtreecommitdiffstats
path: root/builtin/fsck.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-16 00:08:22 +0200
committerJunio C Hamano <gitster@pobox.com>2018-08-16 00:08:23 +0200
commit1689c22c1c328e9135ed51458e9f9a5d224c5057 (patch)
tree774db619c960df03d49743e5f0bf06b34a8dcc0c /builtin/fsck.c
parentMerge branch 'jh/json-writer' (diff)
parentadd core.usereplacerefs config option (diff)
downloadgit-1689c22c1c328e9135ed51458e9f9a5d224c5057.tar.xz
git-1689c22c1c328e9135ed51458e9f9a5d224c5057.zip
Merge branch 'jk/core-use-replace-refs'
A new configuration variable core.usereplacerefs has been added, primarily to help server installations that want to ignore the replace mechanism altogether. * jk/core-use-replace-refs: add core.usereplacerefs config option check_replace_refs: rename to read_replace_refs check_replace_refs: fix outdated comment
Diffstat (limited to 'builtin/fsck.c')
-rw-r--r--builtin/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c
index c96f3f4fcc..250f5af118 100644
--- a/builtin/fsck.c
+++ b/builtin/fsck.c
@@ -694,7 +694,7 @@ int cmd_fsck(int argc, const char **argv, const char *prefix)
fetch_if_missing = 0;
errors_found = 0;
- check_replace_refs = 0;
+ read_replace_refs = 0;
argc = parse_options(argc, argv, prefix, fsck_opts, fsck_usage, 0);