shithub: riscv

Download patch

ref: c2661f86fc9fc228581547067aa571ff57bc9332
parent: a7f6b58d0d768f5f2b928078e3caf84f241dbbe2
author: Ori Bernstein <[email protected]>
date: Sun Oct 24 10:37:36 EDT 2021

git/serve: one more silencing of non-interactive prints

--- a/sys/src/cmd/git/pack.c
+++ b/sys/src/cmd/git/pack.c
@@ -1492,7 +1492,8 @@
 	}
 	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