X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=builtin%2Findex-pack.c;h=fad76bf7a84a6a103de20732752119d5245e9638;hb=0c357544b0d4415c464fb8b35593b21db1d1f7f7;hp=a89ae831dd6251d7332e06470273d30fd9cb31eb;hpb=d4f8f74bc6cf8c5851f67d46c49b6e2c8fea601b;p=thirdparty%2Fgit.git diff --git a/builtin/index-pack.c b/builtin/index-pack.c index a89ae831dd..fad76bf7a8 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().