mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
75194438f4
This message is designed to help new users understand what has happened when refs fail to push. However, it does not help experienced users at all, and significantly clutters the output, frequently dwarfing the regular status table and making it harder to see. This patch introduces a general configuration mechanism for optional messages, with this push message as the first example. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
9 lines
165 B
C
9 lines
165 B
C
#ifndef ADVICE_H
|
|
#define ADVICE_H
|
|
|
|
extern int advice_push_nonfastforward;
|
|
|
|
int git_default_advice_config(const char *var, const char *value);
|
|
|
|
#endif /* ADVICE_H */
|