get_sha1: warn about full or short object names that look like refs
[gitweb.git] / advice.h
index f3cdbbf29e570e151b2b6b329ee9a9940ae59a98..24d5420b7add56e6b19ce58918bf8d2fbde8ed8d 100644 (file)
--- a/advice.h
+++ b/advice.h
@@ -3,15 +3,19 @@
 
 #include "git-compat-util.h"
 
-extern int advice_push_nonfastforward;
+extern int advice_push_update_rejected;
 extern int advice_push_non_ff_current;
 extern int advice_push_non_ff_default;
 extern int advice_push_non_ff_matching;
+extern int advice_push_already_exists;
+extern int advice_push_fetch_first;
+extern int advice_push_needs_force;
 extern int advice_status_hints;
 extern int advice_commit_before_merge;
 extern int advice_resolve_conflict;
 extern int advice_implicit_identity;
 extern int advice_detached_head;
+extern int advice_object_name_warning;
 
 int git_default_advice_config(const char *var, const char *value);
 void advise(const char *advice, ...);