Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
f5847911
Commit
f5847911
authored
Dec 21, 2018
by
Stan Hu
Committed by
Douglas Barbosa Alexandre
Dec 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump Gitaly version to v1.12.0
parent
06cef29a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
GITALY_SERVER_VERSION
GITALY_SERVER_VERSION
+1
-1
lib/api/helpers.rb
lib/api/helpers.rb
+5
-3
No files found.
GITALY_SERVER_VERSION
View file @
f5847911
1.
9
.0
1.
12
.0
lib/api/helpers.rb
View file @
f5847911
...
@@ -163,10 +163,12 @@ module API
...
@@ -163,10 +163,12 @@ module API
end
end
def
find_branch!
(
branch_name
)
def
find_branch!
(
branch_name
)
if
Gitlab
::
GitRefValidator
.
validate
(
branch_name
)
user_project
.
repository
.
find_branch
(
branch_name
)
||
not_found!
(
'Branch'
)
user_project
.
repository
.
find_branch
(
branch_name
)
||
not_found!
(
'Branch'
)
rescue
Gitlab
::
Git
::
CommandError
else
render_api_error!
(
'The branch refname is invalid'
,
400
)
render_api_error!
(
'The branch refname is invalid'
,
400
)
end
end
end
def
find_project_label
(
id
)
def
find_project_label
(
id
)
labels
=
available_labels_for
(
user_project
)
labels
=
available_labels_for
(
user_project
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment