Merge branch 'mm/commit-template-squelch-advice-messages'

From the commit log template, remove irrelevant "advice" messages
that are shared with "git status" output.

* mm/commit-template-squelch-advice-messages:
  commit: disable status hints when writing to COMMIT_EDITMSG
  wt-status: turn advice_status_hints into a field of wt_status
  commit: factor status configuration is a helper function
This commit is contained in:
Junio C Hamano
2013-09-20 12:36:31 -07:00
3 changed files with 37 additions and 27 deletions

View File

@ -60,6 +60,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;