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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c35a1c5f
Commit
c35a1c5f
authored
Dec 17, 2016
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubucop offenses
parent
cd94c62a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
10 deletions
+9
-10
app/models/geo_node.rb
app/models/geo_node.rb
+2
-2
app/services/merge_requests/refresh_service.rb
app/services/merge_requests/refresh_service.rb
+2
-2
config/initializers/elastic_client_setup.rb
config/initializers/elastic_client_setup.rb
+1
-1
lib/api/helpers/internal_helpers.rb
lib/api/helpers/internal_helpers.rb
+1
-1
lib/gitlab/checks/change_access.rb
lib/gitlab/checks/change_access.rb
+1
-2
lib/gitlab/geo.rb
lib/gitlab/geo.rb
+2
-2
No files found.
app/models/geo_node.rb
View file @
c35a1c5f
app/services/merge_requests/refresh_service.rb
View file @
c35a1c5f
config/initializers/elastic_client_setup.rb
View file @
c35a1c5f
lib/api/helpers/internal_helpers.rb
View file @
c35a1c5f
lib/gitlab/checks/change_access.rb
View file @
c35a1c5f
...
...
@@ -90,8 +90,7 @@ module Gitlab
commit_validation
=
push_rule
.
try
(
:commit_validation?
)
# if newrev is blank, the branch was deleted
return
if
Gitlab
::
Git
.
blank_ref?
(
@newrev
)
||
!
(
commit_validation
||
validate_path_locks?
)
return
if
Gitlab
::
Git
.
blank_ref?
(
@newrev
)
||
!
(
commit_validation
||
validate_path_locks?
)
commits
.
each
do
|
commit
|
next
if
commit_from_annex_sync?
(
commit
.
safe_message
)
...
...
lib/gitlab/geo.rb
View file @
c35a1c5f
...
...
@@ -49,8 +49,8 @@ module Gitlab
def
self
.
oauth_authentication
return
false
unless
Gitlab
::
Geo
.
secondary?
RequestStore
.
store
[
:geo_oauth_application
]
||=
Gitlab
::
Geo
.
current_node
.
oauth_application
or
raise
OauthApplicationUndefinedError
RequestStore
.
store
[
:geo_oauth_application
]
||=
Gitlab
::
Geo
.
current_node
.
oauth_application
or
raise
OauthApplicationUndefinedError
end
end
end
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