diff options
| author | saturneric <[email protected]> | 2025-11-09 00:28:04 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-11-09 00:28:04 +0000 |
| commit | b122a4991e687da862cf5afd9ec3a242a9cf7e48 (patch) | |
| tree | 2a0517b5142c53eed37051ea83b13db44cb2db29 /cgit.c | |
| parent | docs(readme): add docker-optimized usage guide (diff) | |
| download | cgit-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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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(); } |
