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>
This commit is contained in:

committed by
Junio C Hamano

parent
5c25dfaa79
commit
6a964f57e5
@ -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;
|
||||
|
Reference in New Issue
Block a user