]> git.ipfire.org Git - thirdparty/git.git/blobdiff - progress.c
path.c: mark 'logs/HEAD' in 'common_list' as file
[thirdparty/git.git] / progress.c
index 095dcd0ddff2132a4dcfd59486ee4a5ddfa4684f..277db8afa26decf0d95a44663f477257213a48f6 100644 (file)
@@ -144,8 +144,7 @@ static void throughput_string(struct strbuf *buf, uint64_t total,
        strbuf_addstr(buf, ", ");
        strbuf_humanise_bytes(buf, total);
        strbuf_addstr(buf, " | ");
-       strbuf_humanise_bytes(buf, rate * 1024);
-       strbuf_addstr(buf, "/s");
+       strbuf_humanise_rate(buf, rate * 1024);
 }
 
 void display_throughput(struct progress *progress, uint64_t total)