l10n: localizable upload progress messages
[gitweb.git] / builtin / upload-pack.c
index decde5a3b1b70442e1550027359dab11f4704468..6da8fa2607c6b831c69a76c5bb2ec5caec444d54 100644 (file)
@@ -31,9 +31,9 @@ int cmd_upload_pack(int argc, const char **argv, const char *prefix)
        };
 
        packet_trace_identity("upload-pack");
-       check_replace_refs = 0;
+       read_replace_refs = 0;
 
-       argc = parse_options(argc, argv, NULL, options, upload_pack_usage, 0);
+       argc = parse_options(argc, argv, prefix, options, upload_pack_usage, 0);
 
        if (argc != 1)
                usage_with_options(upload_pack_usage, options);