aboutsummaryrefslogtreecommitdiffstats
path: root/progress.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-23 11:39:58 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-23 11:39:58 -0700
commited82edc402c271a707da632083f1f4c19155d573 (patch)
tree4192a3f664bad405b32b8423f7cef0c31a93f1c6 /progress.h
parentMerge branch 'maint' (diff)
parentFix the progress code to output LF only when it is really needed (diff)
downloadgit-ed82edc402c271a707da632083f1f4c19155d573.tar.gz
git-ed82edc402c271a707da632083f1f4c19155d573.zip
Merge branch 'ar/progress'
* ar/progress: Fix the progress code to output LF only when it is really needed
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);