summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2009-12-05 16:04:37 +0100
committerJunio C Hamano <gitster@pobox.com>2009-12-05 09:27:23 -0800
commit84dbe7b867cfaaa929ed1941f930d564514ae714 (patch)
tree7a00257519fb5420080680a2d8372f4c7143dccf /wt-status.h
parent14ed05ddd6a8cdd3cb792e2c991207d1640943d1 (diff)
downloadgit-84dbe7b867cfaaa929ed1941f930d564514ae714.tar.gz
builtin-commit: refactor short-status code into wt-status.c
Currently, builtin-commit.c contains most code producing the short-status output, whereas wt-status.c contains most of the code for the long format. Refactor so that most of the long and short format producing code resides in wt-status.c and is named analogously. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.h')
-rw-r--r--wt-status.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h
index 09fd9f1091..39c9aef7a5 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -56,4 +56,6 @@ 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);
+
#endif /* STATUS_H */