summaryrefslogtreecommitdiff
path: root/progress.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-11 22:16:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-07-11 22:16:49 (GMT)
commitff2ea392f9ffc32fdce168b9325d30a27c397684 (patch)
tree1de106769e2376edaa435cd8319238a8b5d16f73 /progress.c
parent4ad01a4c9fa42d389dc3da7c17adaf334735a3a8 (diff)
parent8f354a1faedba64daf5442c12cbc605441bb60b0 (diff)
downloadgit-ff2ea392f9ffc32fdce168b9325d30a27c397684.zip
git-ff2ea392f9ffc32fdce168b9325d30a27c397684.tar.gz
git-ff2ea392f9ffc32fdce168b9325d30a27c397684.tar.bz2
Merge branch 'dr/progress-i18n'
Progress messages have been made localizable. * dr/progress-i18n: l10n: localizable upload progress messages
Diffstat (limited to 'progress.c')
-rw-r--r--progress.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/progress.c b/progress.c
index 095dcd0..277db8a 100644
--- a/progress.c
+++ b/progress.c
@@ -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)