t5541: test more combinations of --progress
[gitweb.git] / remote-curl.c
index d159fe7f3433ccf6e8c8908961736951e42b9c35..e5e9490be7b246e06a849b3d35485fc3a9903abe 100644 (file)
@@ -774,6 +774,7 @@ static int push_git(struct discovery *heads, int nr_spec, char **specs)
                argv[argc++] = "--quiet";
        else if (options.verbosity > 1)
                argv[argc++] = "--verbose";
+       argv[argc++] = options.progress ? "--progress" : "--no-progress";
        argv[argc++] = url;
        for (i = 0; i < nr_spec; i++)
                argv[argc++] = specs[i];