]> git.ipfire.org Git - thirdparty/git.git/blobdiff - wt-status.h
status: refactor null_termination option
[thirdparty/git.git] / wt-status.h
index 682b4c8f7da2c58f741a958f6488a48fd7b483b4..34a8d7614ffcb1a0ca5692c662e566db78a23d97 100644 (file)
@@ -56,6 +56,7 @@ struct wt_status {
        enum untracked_status_type show_untracked_files;
        const char *ignore_submodule_arg;
        char color_palette[WT_STATUS_MAXSLOT][COLOR_MAXLEN];
+       int null_termination;
 
        /* These are computed during processing of the individual sections */
        int commitable;
@@ -72,8 +73,8 @@ void wt_status_prepare(struct wt_status *s);
 void wt_status_print(struct wt_status *s);
 void wt_status_collect(struct wt_status *s);
 
-void wt_shortstatus_print(struct wt_status *s, int null_termination, int show_branch);
-void wt_porcelain_print(struct wt_status *s, int null_termination);
+void wt_shortstatus_print(struct wt_status *s, int show_branch);
+void wt_porcelain_print(struct wt_status *s);
 
 void status_printf_ln(struct wt_status *s, const char *color, const char *fmt, ...)
        ;