Skip to content

Commit 4c999ac

Browse files
committed
gvfs-helper: stop showing index-pack progress
If we are showing progress, then we should do so only for how many prefetch packs are being downloaded. Stop sending the '-v' option to 'git index-pack' which creates too much noise. Signed-off-by: Derrick Stolee <derrickstolee@github.com>
1 parent 05f2392 commit 4c999ac

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

gvfs-helper.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,13 +1855,8 @@ static void my_run_index_pack(struct gh__request_params *params,
18551855
strvec_push(&ip.args, "git");
18561856
strvec_push(&ip.args, "index-pack");
18571857

1858-
if (gh__cmd_opts.show_progress) {
1859-
strvec_push(&ip.args, "-v");
1860-
ip.err = 0;
1861-
} else {
1862-
ip.err = -1;
1863-
ip.no_stderr = 1;
1864-
}
1858+
ip.err = -1;
1859+
ip.no_stderr = 1;
18651860

18661861
/* Skip generating the rev index, we don't need it. */
18671862
strvec_push(&ip.args, "--no-rev-index");

0 commit comments

Comments
 (0)