diff options
author | Nicolas Pitre <nico@cam.org> | 2009-04-24 17:46:15 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-25 08:54:18 -0700 |
commit | 66913284f06da58e2243acfad951a57501b8d813 (patch) | |
tree | c6ba039d76ef1cc5318ff3b98e63fd2b9e057f85 /blob.c | |
parent | f29ac4f1b04c9cf84509e4a80f27f10b4373a446 (diff) | |
download | git-66913284f06da58e2243acfad951a57501b8d813.tar.gz |
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 'blob.c')
0 files changed, 0 insertions, 0 deletions