cat-file: disable object/refname ambiguity check for batch mode
[gitweb.git] / environment.c
index e2e75c16602d8e5841c2461defaba7b9866115d8..1a99e472516b2d67cf6f10dcd33589e3c9fd3d46 100644 (file)
@@ -22,6 +22,7 @@ int prefer_symlink_refs;
 int is_bare_repository_cfg = -1; /* unspecified */
 int log_all_ref_updates = -1; /* unspecified */
 int warn_ambiguous_refs = 1;
+int warn_on_object_refname_ambiguity = 1;
 int repository_format_version;
 const char *git_commit_encoding;
 const char *git_log_output_encoding;