aboutsummaryrefslogtreecommitdiff
path: root/shortlog.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2009-04-24 17:46:15 -0400
committerJunio C Hamano <gitster@pobox.com>2009-04-25 08:54:18 -0700
commit66913284f06da58e2243acfad951a57501b8d813 (patch)
treec6ba039d76ef1cc5318ff3b98e63fd2b9e057f85 /shortlog.h
parentf29ac4f1b04c9cf84509e4a80f27f10b4373a446 (diff)
downloadgit-66913284f06da58e2243acfad951a57501b8d813.tar.gz
git-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 'shortlog.h')
0 files changed, 0 insertions, 0 deletions