diff options
Diffstat (limited to 'upload-pack.c')
-rw-r--r-- | upload-pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upload-pack.c b/upload-pack.c index a5c50e4ce0..286a9ed3ea 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -251,6 +251,7 @@ static void create_pack_file(void) error("git upload-pack: git-pack-objects died with error."); goto fail; } + /* flush the data */ if (0 <= buffered) { data[0] = buffered; @@ -799,7 +800,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]; |