Fix the progress code to output LF only when it is really needed
Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
7ca055f75a
commit
421f9d1685
@ -8,6 +8,7 @@ struct progress {
|
||||
unsigned delay;
|
||||
unsigned delayed_percent_treshold;
|
||||
const char *delayed_title;
|
||||
int need_lf;
|
||||
};
|
||||
|
||||
int display_progress(struct progress *progress, unsigned n);
|
||||
|
||||
Reference in New Issue
Block a user