commit 4897e5100fe5816a7d9986d212fded550ab2b62e from: Stefan Sperling date: Sat Nov 23 15:17:14 2024 UTC hide ssh debug output during fetch/send -v, keep showing it at -vv and -vvv commit - a17c421a8bc09e700ab3035c1c6091ae373daa9d commit + 4897e5100fe5816a7d9986d212fded550ab2b62e blob - 8817fd84008c7497a2a44f44f5111f20ad3414e4 blob + 88b600b1f00ec7c68d10041e64ae7ef76b9baac2 --- lib/dial.c +++ lib/dial.c @@ -282,9 +282,9 @@ got_dial_ssh(pid_t *newpid, int *newfd, const char *ho argv[i++] = "-p"; argv[i++] = (char *)port; } - if (verbosity == -1) { + if (verbosity <= 0) { argv[i++] = "-q"; - } else { + } else if (verbosity > 1) { /* ssh(1) allows up to 3 "-v" options. */ for (j = 0; j < MIN(3, verbosity); j++) argv[i++] = "-v";