diff options
author | Fabio Pitino <fpitino@gitlab.com> | 2019-07-30 20:24:15 +0200 |
---|---|---|
committer | Fabio Pitino <fpitino@gitlab.com> | 2019-07-30 20:24:15 +0200 |
commit | b725ba9b0eadfa087888ba304e3963c26ae518b5 (patch) | |
tree | 588301fd7f50e1cc12502365db78d984b9c03871 | |
parent | 7681572591219f8b9e5e02ad6ee7a5fee827380e (diff) | |
download | gitlab-ce-b725ba9b0eadfa087888ba304e3963c26ae518b5.tar.gz |
Support pull and pull-requests external refs
-rw-r--r-- | lib/gitlab/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git.rb b/lib/gitlab/git.rb index 8d25dfacdfe..2327a7af15b 100644 --- a/lib/gitlab/git.rb +++ b/lib/gitlab/git.rb @@ -12,7 +12,7 @@ module Gitlab COMMIT_ID = /\A[0-9a-f]{40}\z/.freeze TAG_REF_PREFIX = "refs/tags/".freeze BRANCH_REF_PREFIX = "refs/heads/".freeze - REQUEST_REF_SUBFOLDER_REGEX = %r(^refs/(merge_requests|pull)/.+).freeze + REQUEST_REF_SUBFOLDER_REGEX = %r(^refs/(pull|pull-requests)/.+).freeze BaseError = Class.new(StandardError) CommandError = Class.new(BaseError) |