get_sha1: warn about full or short object names that look like refs
[gitweb.git] / advice.h
index fad36df467f065bf7ff7a82d9d447ee4ac5cecb9..24d5420b7add56e6b19ce58918bf8d2fbde8ed8d 100644 (file)
--- a/advice.h
+++ b/advice.h
@@ -15,6 +15,7 @@ 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, ...);