Fix RefsFinder to support substring matching in reference names
What does this MR do and why?
Contributes to #561006 (closed)
Problem
RefsFinder only matches references that start with the search
term immediately after the prefix (e.g., refs/heads/foo*). This means
searching for "foo" won't find refs/heads/feature/foo, and
refs/heads/test-foo.
Solution
Use */ pattern to enable substring matching at any nesting
level. The pattern refs/heads/**/*foo* now matches references like
refs/heads/feature/foo, refs/heads/my-foo-branch, and
refs/heads/deep/nested/foo-feature.
References
RefsFinder search doesn't support references wi... (#561006 - closed)
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #561006 (closed)
Edited by Vasilii Iakliushin