aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index c70af55..def8731 100644
--- a/cgit.c
+++ b/cgit.c
@@ -761,6 +761,11 @@ static void process_request(void)
if (ctx.repo && prepare_repo_cmd(nongit))
return;
+ /* Disable warning about ambiguous object refnames for the
+ * duration of the command, as we handle such cases ourselves
+ * where needed. */
+ warn_on_object_refname_ambiguity = 0;
+
cmd->fn();
}