summaryrefslogtreecommitdiff
path: root/builtin/index-pack.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-08-15 15:08:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-15 15:08:23 -0700
commit1689c22c1c328e9135ed51458e9f9a5d224c5057 (patch)
tree774db619c960df03d49743e5f0bf06b34a8dcc0c /builtin/index-pack.c
parentMerge branch 'jh/json-writer' (diff)
parentadd core.usereplacerefs config option (diff)
downloadtgif-1689c22c1c328e9135ed51458e9f9a5d224c5057.tar.xz
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/index-pack.c')
-rw-r--r--builtin/index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index de311febe3..9582ead950 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -1680,7 +1680,7 @@ int cmd_index_pack(int argc, const char **argv, const char *prefix)
if (argc == 2 && !strcmp(argv[1], "-h"))
usage(index_pack_usage);
- check_replace_refs = 0;
+ read_replace_refs = 0;
fsck_options.walk = mark_link;
reset_pack_idx_option(&opts);