mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 15:46:08 +10:00
Merge branch 'master' of github.com:gitlabhq/gitlabhq
This commit is contained in:
@@ -4,11 +4,7 @@ module Gitlab
|
||||
|
||||
def initialize(project_id, query, repository_ref = nil)
|
||||
@project = Project.find(project_id)
|
||||
@repository_ref = if repository_ref.present?
|
||||
repository_ref
|
||||
else
|
||||
nil
|
||||
end
|
||||
@repository_ref = repository_ref
|
||||
@query = Shellwords.shellescape(query) if query.present?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user