mirror of
https://github.com/git/git.git
synced 2024-11-27 20:14:30 +08:00
b706fcfe93
We now nag the user with a giant warning when their identity was pulled from the username, hostname, and gecos information, in case it is not correct. Most users will suppress this by simply setting up their information correctly. However, there may be some users who consciously want to use that information, because having the value change from host to host contains useful information. These users can now set advice.implicitidentity to false to suppress the message. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 lines
273 B
C
12 lines
273 B
C
#ifndef ADVICE_H
|
|
#define ADVICE_H
|
|
|
|
extern int advice_push_nonfastforward;
|
|
extern int advice_status_hints;
|
|
extern int advice_commit_before_merge;
|
|
extern int advice_implicit_identity;
|
|
|
|
int git_default_advice_config(const char *var, const char *value);
|
|
|
|
#endif /* ADVICE_H */
|