git/serve: don't show progress when not interactive
this prevents console spam
This commit is contained in:
parent
5b5f69513a
commit
a7f6b58d0d
1 changed files with 2 additions and 1 deletions
|
@ -1448,7 +1448,8 @@ pickdeltas(Meta **meta, int nmeta)
|
|||
|
||||
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];
|
||||
|
|
Loading…
Reference in a new issue