summary refs log tree commit diff
path: root/wt-status.h
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2013-09-12 12:50:05 +0200
committerJunio C Hamano <gitster@pobox.com>2013-09-12 11:45:10 -0700
commit6a964f57e52bb25d9233ff6d38c82a16f21f60aa (patch)
tree4d9ceed3a8b9f869da143b4d956d225f569de8b8 /wt-status.h
parent5c25dfaa794c7bbfa1b4d234b10f94ee371b1db0 (diff)
wt-status: turn advice_status_hints into a field of wt_status
No behavior change in this patch, but this makes the display of status
hints more flexible as they can be enabled or disabled for individual
calls to commit.c:run_status().

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.h')
-rw-r--r--wt-status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h
index fb7152e187..b4c9cb46c7 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -59,6 +59,7 @@ struct wt_status {
 	unsigned colopts;
 	int null_termination;
 	int show_branch;
+	int hints;
 
 	/* These are computed during processing of the individual sections */
 	int commitable;