summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2019-04-05 02:45:37 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-05 15:02:06 +0900
commitd53ba841d4feec0096f5f019ae2d304f1edd226e (patch)
treee5690e417e14561222a884ee048cd8e13af7b720 /upload-pack.c
parentprogress: make display_progress() return void (diff)
downloadtgif-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 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions