From c2661f86fc9fc228581547067aa571ff57bc9332 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Sun, 24 Oct 2021 14:37:36 +0000 Subject: [PATCH] git/serve: one more silencing of non-interactive prints --- sys/src/cmd/git/pack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/src/cmd/git/pack.c b/sys/src/cmd/git/pack.c index ebc701338..5ec7a1b75 100644 --- a/sys/src/cmd/git/pack.c +++ b/sys/src/cmd/git/pack.c @@ -1492,7 +1492,8 @@ pickdeltas(Meta **meta, int nmeta) } for(i = max(0, nmeta - 10); i < nmeta; i++) dtclear(&meta[i]->dtab); - fprint(2, "\b\b\b\b100%%\n"); + if(interactive) + fprint(2, "\b\b\b\b100%%\n"); } static int