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 /path.c | |
parent | GIT 1.6.3-rc2 (diff) | |
download | tgif-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 'path.c')
0 files changed, 0 insertions, 0 deletions