ref: a7f6b58d0d768f5f2b928078e3caf84f241dbbe2
parent: 5b5f69513adcb9939e4ebd93bf8adfbfdc08fcf1
author: Ori Bernstein <[email protected]>
date: Sat Oct 23 21:36:46 EDT 2021
git/serve: don't show progress when not interactive this prevents console spam
--- a/sys/src/cmd/git/pack.c
+++ b/sys/src/cmd/git/pack.c
@@ -1448,7 +1448,8 @@
pct = 0;
dprint(1, "picking deltas\n");
- fprint(2, "deltifying %d objects: 0%%", nmeta);
+ if(interactive)
+ fprint(2, "deltifying %d objects: 0%%", nmeta);
qsort(meta, nmeta, sizeof(Meta*), deltaordercmp);
for(i = 0; i < nmeta; i++){
m = meta[i];