blob: f3cdbbf29e570e151b2b6b329ee9a9940ae59a98 [file] [log] [blame]
Jeff King75194432009-09-09 07:38:58 -04001#ifndef ADVICE_H
2#define ADVICE_H
3
Matthieu Moyd38a30d2010-01-12 10:54:44 +01004#include "git-compat-util.h"
5
Jeff King75194432009-09-09 07:38:58 -04006extern int advice_push_nonfastforward;
Christopher Tiwaldf25950f2012-03-20 00:31:33 -04007extern int advice_push_non_ff_current;
8extern int advice_push_non_ff_default;
9extern int advice_push_non_ff_matching;
Jeff Kingedf563f2009-09-09 07:43:03 -040010extern int advice_status_hints;
Matthieu Moy4c371f92009-11-22 23:26:17 +010011extern int advice_commit_before_merge;
Matthieu Moyd38a30d2010-01-12 10:54:44 +010012extern int advice_resolve_conflict;
Jeff Kingb706fcf2010-01-13 15:17:08 -050013extern int advice_implicit_identity;
Junio C Hamano13be3e32010-01-29 22:03:24 -080014extern int advice_detached_head;
Jeff King75194432009-09-09 07:38:58 -040015
16int git_default_advice_config(const char *var, const char *value);
Ramkumar Ramachandra38ef61c2011-08-04 16:08:59 +053017void advise(const char *advice, ...);
18int error_resolve_conflict(const char *me);
Matthieu Moyd38a30d2010-01-12 10:54:44 +010019extern void NORETURN die_resolve_conflict(const char *me);
Nguyễn Thái Ngọc Duy28570932012-01-16 16:46:16 +070020void detach_advice(const char *new_name);
Matthieu Moyd38a30d2010-01-12 10:54:44 +010021
Jeff King75194432009-09-09 07:38:58 -040022#endif /* ADVICE_H */