rename read_replace_refs to check_replace_refs
[gitweb.git] / builtin / unpack-objects.c
index 62ff673f68b48cc2147fc7f7b17dc5269da022bf..df2d3e3a7768b06560468be2644a3561506df7f9 100644 (file)
@@ -497,7 +497,7 @@ int cmd_unpack_objects(int argc, const char **argv, const char *prefix)
        int i;
        unsigned char sha1[20];
 
-       read_replace_refs = 0;
+       check_replace_refs = 0;
 
        git_config(git_default_config, NULL);