diff options
author | Ondřej Pohořelský <opohorel@redhat.com> | 2025-05-26 13:48:25 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-05-27 08:25:08 -0700 |
commit | 67cae845d21d3ca0dbdb51ecebb695b175fd1c8e (patch) | |
tree | 9bce042fde15f5219ef953261c8363b794afc3bc /builtin/commit-tree.c | |
parent | f93ff170b93a1782659637824b25923245ac9dd1 (diff) |
cvsserver: remove unused escapeRefName function
Function 'escapeRefName' introduced in 51a7e6dbc9 has never been used.
Despite being dead code, changes in Perl 5.41.4 exposed precedence
warning within its logic, which then caused test failures in t9402 by
logging the warnings to stderr while parsing the code. The affected
tests are t9402.30, t9402.31, t9402.32 and t9402.34.
Remove this unused function to simplify the codebase and stop the
warnings and test failures. Its corresponding unescapeRefName function,
which remains in use, has had its comments updated.
Reported-by: Jitka Plesnikova <jplesnik@redhat.com>
Signed-off-by: Ondřej Pohořelský <opohorel@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions