X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=builtin%2Findex-pack.c;h=fad76bf7a84a6a103de20732752119d5245e9638;hb=443938df7ba6ca8c5ad50b7b061ece8116496985;hp=a89ae831dd6251d7332e06470273d30fd9cb31eb;hpb=1c5d6b2a401576f74c76f56dae0204604235705c;p=git.git diff --git a/builtin/index-pack.c b/builtin/index-pack.c index a89ae831d..fad76bf7a 100644 --- a/builtin/index-pack.c +++ b/builtin/index-pack.c @@ -884,6 +884,8 @@ int cmd_index_pack(int argc, const char **argv, const char *prefix) if (argc == 2 && !strcmp(argv[1], "-h")) usage(index_pack_usage); + read_replace_refs = 0; + /* * We wish to read the repository's config file if any, and * for that it is necessary to call setup_git_directory_gently().