Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2007-05-23 20:07:25 +0400
committerJunio C Hamano <junkio@cox.net>2007-05-23 22:30:49 +0400
commit421f9d1685b4b7d286b5929489a0d95139c6ecce (patch)
tree0bd6477728f91fc0fa6d12971f188ea31d2456c8 /progress.h
parent7ca055f75ad7ffd2251d4b607fbb86d7bcfd77c7 (diff)
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);