diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-23 00:08:40 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-23 00:08:40 +0300 |
commit | 5f66b796766f79f48b5c53a38aa9bfb7f951143b (patch) | |
tree | 21c8329f92fed0463f6fd33f2ff512ab7e446f56 /app/finders | |
parent | b486760a6332905cd2ac94b3fade5cbc6a55d21e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/git_refs_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/git_refs_finder.rb b/app/finders/git_refs_finder.rb index 0492dd9934f..3c8d53051d6 100644 --- a/app/finders/git_refs_finder.rb +++ b/app/finders/git_refs_finder.rb @@ -49,7 +49,7 @@ class GitRefsFinder def regex_search? Regexp.union('^', '$', '*') === search end - strong_memoize_attr :regex_search?, :regex_search + strong_memoize_attr :regex_search? def unescape_regex_operators(regex_string) regex_string.sub('\^', '^').gsub('\*', '.*?').sub('\$', '$') |