aboutsummaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-19 23:24:19 -0700
committerJunio C Hamano <gitster@pobox.com>2011-03-19 23:24:19 -0700
commitf4784b3eab2e12e7a8fda7431572753f3a970c63 (patch)
treed11fc4eafe18c0a9b7e008d316ed41783c40dc45 /wt-status.h
parent0d7f242110dc71666780a85fca14fbc8223879d4 (diff)
parentb926c0d10df6c5bdc8bf9a2fc1431e8edb673e4d (diff)
downloadgit-f4784b3eab2e12e7a8fda7431572753f3a970c63.tar.gz
git-f4784b3eab2e12e7a8fda7431572753f3a970c63.tar.xz
Merge branch 'jn/status-translatable'
* jn/status-translatable: commit, status: use status_printf{,_ln,_more} helpers commit: refer to commit template as s->fp wt-status: add helpers for printing wt-status lines Conflicts: builtin/commit.c
Diffstat (limited to 'wt-status.h')
-rw-r--r--wt-status.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h
index cec482a56..682b4c8f7 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -75,4 +75,11 @@ 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 status_printf_ln(struct wt_status *s, const char *color, const char *fmt, ...)
+ ;
+void status_printf(struct wt_status *s, const char *color, const char *fmt, ...)
+ ;
+void status_printf_more(struct wt_status *s, const char *color, const char *fmt, ...)
+ __attribute__((format(printf, 3, 4)));
+
#endif /* STATUS_H */