summaryrefslogtreecommitdiff
path: root/builtin-archive.c
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2009-04-24 17:46:15 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-04-25 08:54:18 -0700
commit66913284f06da58e2243acfad951a57501b8d813 (patch)
treec6ba039d76ef1cc5318ff3b98e63fd2b9e057f85 /builtin-archive.c
parentGIT 1.6.3-rc2 (diff)
downloadtgif-66913284f06da58e2243acfad951a57501b8d813.tar.xz
progress bar: round to the nearest instead of truncating down
Often the throughput output is requested when the data read so far is one smaller than multiple of 1024; because 1023/1024 is ~0.999, it often shows up as 0.99 because the code currently truncates. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-archive.c')
0 files changed, 0 insertions, 0 deletions