mirror of
https://github.com/git/git.git
synced 2024-11-01 06:47:52 +01: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>
13 lines
455 B
C
13 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
|