diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-04-05 02:45:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-05 15:02:06 +0900 |
commit | d53ba841d4feec0096f5f019ae2d304f1edd226e (patch) | |
tree | e5690e417e14561222a884ee048cd8e13af7b720 /diffcore-break.c | |
parent | progress: make display_progress() return void (diff) | |
download | tgif-d53ba841d4feec0096f5f019ae2d304f1edd226e.tar.xz |
progress: assemble percentage and counters in a strbuf before printing
The following patches in this series want to handle the progress bar's
title and changing parts (i.e. the counter and the optional percentage
and throughput combined) differently, and need to know the length
of the changing parts of the previously displayed progress bar.
To prepare for those changes assemble the changing parts in a separate
strbuf kept in 'struct progress' before printing.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-break.c')
0 files changed, 0 insertions, 0 deletions