summaryrefslogtreecommitdiff
path: root/progress.h
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2007-05-23 18:07:25 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-23 11:30:49 -0700
commit421f9d1685b4b7d286b5929489a0d95139c6ecce (patch)
tree0bd6477728f91fc0fa6d12971f188ea31d2456c8 /progress.h
parent7ca055f75ad7ffd2251d4b607fbb86d7bcfd77c7 (diff)
downloadgit-421f9d1685b4b7d286b5929489a0d95139c6ecce.tar.gz
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>
Diffstat (limited to 'progress.h')
-rw-r--r--progress.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/progress.h b/progress.h
index 5ae1a89e5a..a7c17ca7c4 100644
--- a/progress.h
+++ b/progress.h
@@ -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);