]> git.ipfire.org Git - thirdparty/git.git/commit - progress.c
progress: fix progress meters when dealing with lots of work
authorElijah Newren <newren@gmail.com>
Mon, 13 Nov 2017 20:15:58 +0000 (12:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Nov 2017 04:11:25 +0000 (13:11 +0900)
commitd6861d0258df95987696eab6c9bbc138a07190b9
tree7c90efa744c02bcc3f0a81b66ec529ec0870e165
parentb520abf1c8f3dcbd218c9ae26830b7e2c94866c7
progress: fix progress meters when dealing with lots of work

The possibility of setting merge.renameLimit beyond 2^16 raises the
possibility that the values passed to progress can exceed 2^32.
Use uint64_t, because it "ought to be enough for anybody".  :-)

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-rename.c
progress.c
progress.h