mirror of
https://github.com/git/git.git
synced 2024-11-25 10:54:00 +08:00
d6861d0258
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>
14 lines
455 B
C
14 lines
455 B
C
#ifndef PROGRESS_H
|
|
#define PROGRESS_H
|
|
|
|
struct progress;
|
|
|
|
void display_throughput(struct progress *progress, uint64_t total);
|
|
int display_progress(struct progress *progress, uint64_t n);
|
|
struct progress *start_progress(const char *title, uint64_t total);
|
|
struct progress *start_delayed_progress(const char *title, uint64_t total);
|
|
void stop_progress(struct progress **progress);
|
|
void stop_progress_msg(struct progress **progress, const char *msg);
|
|
|
|
#endif
|