diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-06-28 15:53:06 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-28 15:53:07 -0700 |
| commit | a41463e4371976f17f6d58caa5e6d555ecaa02e3 (patch) | |
| tree | 6fd54e9df6bd45539d3719a06d72ff0ac0347b80 /builtin/multi-pack-index.c | |
| parent | 332bcf74eab28b8dd9d93de3358de3e13d1aaba1 (diff) | |
| parent | 93e2ae1c95e2685f51fb6320508bbde20fa7949f (diff) | |
| download | git-a41463e4371976f17f6d58caa5e6d555ecaa02e3.tar.gz | |
Merge branch 'xx/disable-replace-when-building-midx' into maint-2.45
The procedure to build multi-pack-index got confused by the
replace-refs mechanism, which has been corrected by disabling the
latter.
* xx/disable-replace-when-building-midx:
midx: disable replace objects
Diffstat (limited to 'builtin/multi-pack-index.c')
| -rw-r--r-- | builtin/multi-pack-index.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/multi-pack-index.c b/builtin/multi-pack-index.c index a72aebecaa..8360932d2e 100644 --- a/builtin/multi-pack-index.c +++ b/builtin/multi-pack-index.c @@ -8,6 +8,7 @@ #include "strbuf.h" #include "trace2.h" #include "object-store-ll.h" +#include "replace-object.h" #define BUILTIN_MIDX_WRITE_USAGE \ N_("git multi-pack-index [<options>] write [--preferred-pack=<pack>]" \ @@ -273,6 +274,8 @@ int cmd_multi_pack_index(int argc, const char **argv, }; struct option *options = parse_options_concat(builtin_multi_pack_index_options, common_opts); + disable_replace_refs(); + git_config(git_default_config, NULL); if (the_repository && |
