diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2007-05-23 18:07:25 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-23 20:30:49 +0200 |
commit | 421f9d1685b4b7d286b5929489a0d95139c6ecce (patch) | |
tree | 0bd6477728f91fc0fa6d12971f188ea31d2456c8 /progress.h | |
parent | Use git-for-each-ref to check whether the origin branch exists. (diff) | |
download | git-421f9d1685b4b7d286b5929489a0d95139c6ecce.tar.xz git-421f9d1685b4b7d286b5929489a0d95139c6ecce.zip |
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.h | 1 |
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); |