Merge branch 'tc/commit-dry-run-exit-status-tests'
[gitweb.git] / upload-pack.c
index 0c44f6b292563e7c87bce0b7b5d9b8a4ccd32ec3..9314c250ffd72ef44dd6b675e0f3592e3e283a04 100644 (file)
@@ -796,7 +796,7 @@ int main(int argc, char **argv)
 
        packet_trace_identity("upload-pack");
        git_extract_argv0_path(argv[0]);
-       read_replace_refs = 0;
+       check_replace_refs = 0;
 
        for (i = 1; i < argc; i++) {
                char *arg = argv[i];