aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-11-09 00:28:04 +0000
committersaturneric <[email protected]>2025-11-09 00:28:04 +0000
commitb122a4991e687da862cf5afd9ec3a242a9cf7e48 (patch)
tree2a0517b5142c53eed37051ea83b13db44cb2db29 /cgit.c
parentdocs(readme): add docker-optimized usage guide (diff)
downloadcgit-b122a4991e687da862cf5afd9ec3a242a9cf7e48.tar.gz
cgit-b122a4991e687da862cf5afd9ec3a242a9cf7e48.zip
refactor(request): remove object refname ambiguity warning
* Eliminates manual disabling of ambiguous object refname warnings during request processing. * Relies on internal handling of ambiguous refs where necessary, reducing unnecessary global state modification.
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cgit.c b/cgit.c
index def8731..c70af55 100644
--- a/cgit.c
+++ b/cgit.c
@@ -761,11 +761,6 @@ 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();
}