hide an fprintf inside if (chattygit)
diff --git a/libexec/got-fetch-pack/got-fetch-pack.c b/libexec/got-fetch-pack/got-fetch-pack.c
index d6afe7d..312015a 100644
--- a/libexec/got-fetch-pack/got-fetch-pack.c
+++ b/libexec/got-fetch-pack/got-fetch-pack.c
@@ -568,7 +568,8 @@ fetch_pack(int fd, int packfd, struct got_object_id *packid,
goto done;
}
if (!req) {
- fprintf(stderr, "up to date\n");
+ if (chattygit)
+ fprintf(stderr, "up to date\n");
err = flushpkt(fd);
if (err)
goto done;