Commit 8d3378a3 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve conflicts

parent 710422a0
...@@ -248,15 +248,11 @@ class Group < Namespace ...@@ -248,15 +248,11 @@ class Group < Namespace
SystemHooksService.new SystemHooksService.new
end end
<<<<<<< HEAD
def first_non_empty_project def first_non_empty_project
projects.detect { |project| !project.empty_repo? } projects.detect { |project| !project.empty_repo? }
end end
def refresh_members_authorized_projects
=======
def refresh_members_authorized_projects(blocking: true) def refresh_members_authorized_projects(blocking: true)
>>>>>>> upstream/master
UserProjectAccessChangedService.new(user_ids_for_project_authorizations) UserProjectAccessChangedService.new(user_ids_for_project_authorizations)
.execute(blocking: blocking) .execute(blocking: blocking)
end end
......
...@@ -103,14 +103,13 @@ module Projects ...@@ -103,14 +103,13 @@ module Projects
system_hook_service.execute_hooks_for(@project, :create) system_hook_service.execute_hooks_for(@project, :create)
setup_authorizations setup_authorizations
end
<<<<<<< HEAD
# EE-only # EE-only
create_predefined_push_rule create_predefined_push_rule
@project.group&.refresh_members_authorized_projects @project.group&.refresh_members_authorized_projects
======= end
# Refresh the current user's authorizations inline (so they can access the # Refresh the current user's authorizations inline (so they can access the
# project immediately after this request completes), and any other affected # project immediately after this request completes), and any other affected
# users in the background # users in the background
...@@ -121,7 +120,6 @@ module Projects ...@@ -121,7 +120,6 @@ module Projects
else else
@project.add_master(@project.namespace.owner, current_user: current_user) @project.add_master(@project.namespace.owner, current_user: current_user)
end end
>>>>>>> upstream/master
end end
def skip_wiki? def skip_wiki?
......
<<<<<<< HEAD
- board = local_assigns.fetch(:board, nil) - board = local_assigns.fetch(:board, nil)
=======
- @no_breadcrumb_container = true - @no_breadcrumb_container = true
>>>>>>> upstream/master
- @no_container = true - @no_container = true
- @content_class = "issue-boards-content js-focus-mode-board" - @content_class = "issue-boards-content js-focus-mode-board"
- page_title "Boards" - page_title "Boards"
......
...@@ -178,7 +178,6 @@ describe 'Filter issues', js: true do ...@@ -178,7 +178,6 @@ describe 'Filter issues', js: true do
expect_issues_list_count(8, 1) expect_issues_list_count(8, 1)
expect_filtered_search_input_empty expect_filtered_search_input_empty
end end
<<<<<<< HEAD
it 'filters issues by invalid assignee' do it 'filters issues by invalid assignee' do
skip('to be tested, issue #26546') skip('to be tested, issue #26546')
...@@ -197,8 +196,6 @@ describe 'Filter issues', js: true do ...@@ -197,8 +196,6 @@ describe 'Filter issues', js: true do
expect_issues_list_count(1) expect_issues_list_count(1)
expect_filtered_search_input_empty expect_filtered_search_input_empty
end end
=======
>>>>>>> upstream/master
end end
context 'assignee with other filters' do context 'assignee with other filters' do
......
...@@ -2187,7 +2187,6 @@ describe Repository, models: true do ...@@ -2187,7 +2187,6 @@ describe Repository, models: true do
end end
end end
<<<<<<< HEAD
describe '#after_sync' do describe '#after_sync' do
it 'expires repository cache' do it 'expires repository cache' do
expect(repository).to receive(:expire_all_method_caches) expect(repository).to receive(:expire_all_method_caches)
...@@ -2203,10 +2202,7 @@ describe Repository, models: true do ...@@ -2203,10 +2202,7 @@ describe Repository, models: true do
rugged.references.create("refs/remotes/#{remote_name}/#{branch_name}", target.id) rugged.references.create("refs/remotes/#{remote_name}/#{branch_name}", target.id)
end end
describe '#is_ancestor?' do
=======
describe '#ancestor?' do describe '#ancestor?' do
>>>>>>> upstream/master
let(:commit) { repository.commit } let(:commit) { repository.commit }
let(:ancestor) { commit.parents.first } let(:ancestor) { commit.parents.first }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment