commit d959535215ce640ec4c4cede5623409121f37947 from: Omar Polo via: Thomas Adam date: Mon Jul 10 19:47:52 2023 UTC gotadmin load: don't add a newline when listing refs the newline is only needed after the progress output, which is not present in the 'listing refs' case. commit - 90afc9f356259c35a85d03c4e7e65561436d2d7a commit + d959535215ce640ec4c4cede5623409121f37947 blob - ddf901591acbefd7e9a2a8e1759d121dc1d26fa5 blob + 3ad3883d7f96133dfd8aae99d2140026cdc5141b --- gotadmin/gotadmin.c +++ gotadmin/gotadmin.c @@ -1762,7 +1762,7 @@ cmd_load(int argc, char *argv[]) error = got_repo_load(in, &available_refs, repo, list_refs_only, noop, load_progress, &ppa, check_cancelled, NULL); - if (verbosity >= 0) /* XXX printed_something is always zero */ + if (verbosity >= 0 && !list_refs_only) printf("\n"); if (error) goto done;