status: make "how to stage" messages optional

These messages are nice for new users, but experienced git
users know how to manipulate the index, and these messages
waste a lot of screen real estate.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff King
2009-09-09 07:43:03 -04:00
committed by Junio C Hamano
parent 75194438f4
commit edf563fbaa
4 changed files with 15 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
#define ADVICE_H
extern int advice_push_nonfastforward;
extern int advice_status_hints;
int git_default_advice_config(const char *var, const char *value);