Make read_patch_file work on a strbuf.
[gitweb.git] / progress.h
index 4ee851acfb286ded87c1ef8d40803c1d7d415db5..a7c17ca7c4bdad953508d03c20e73022b03bd25a 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __progress_h__
-#define __progress_h__
+#ifndef PROGRESS_H
+#define PROGRESS_H
 
 struct progress {
        const char *prefix;
@@ -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);