Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-12 01:16:49 +0300
committerJunio C Hamano <gitster@pobox.com>2019-07-12 01:16:49 +0300
commitff2ea392f9ffc32fdce168b9325d30a27c397684 (patch)
tree1de106769e2376edaa435cd8319238a8b5d16f73 /progress.c
parent4ad01a4c9fa42d389dc3da7c17adaf334735a3a8 (diff)
parent8f354a1faedba64daf5442c12cbc605441bb60b0 (diff)
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 095dcd0ddf..277db8afa2 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)