Commit 58f0bd67 authored by Robert Speicher's avatar Robert Speicher

Resolve conflicts

parent 807dad1e
...@@ -929,7 +929,6 @@ class Repository ...@@ -929,7 +929,6 @@ class Repository
def fetch_remote(remote, forced: false, ssh_auth: nil, no_tags: false, prune: true) def fetch_remote(remote, forced: false, ssh_auth: nil, no_tags: false, prune: true)
gitlab_shell.fetch_remote(raw_repository, remote, ssh_auth: ssh_auth, forced: forced, no_tags: no_tags, prune: prune) gitlab_shell.fetch_remote(raw_repository, remote, ssh_auth: ssh_auth, forced: forced, no_tags: no_tags, prune: prune)
<<<<<<< HEAD
end end
def async_remove_remote(remote_name) def async_remove_remote(remote_name)
...@@ -944,8 +943,6 @@ class Repository ...@@ -944,8 +943,6 @@ class Repository
end end
job_id job_id
=======
>>>>>>> upstream/master
end end
def fetch_source_branch!(source_repository, source_branch, local_ref) def fetch_source_branch!(source_repository, source_branch, local_ref)
......
...@@ -2,12 +2,9 @@ ...@@ -2,12 +2,9 @@
- page_title "Repository" - page_title "Repository"
- @content_class = "limit-container-width" unless fluid_layout - @content_class = "limit-container-width" unless fluid_layout
<<<<<<< HEAD
= render "projects/push_rules/index" = render "projects/push_rules/index"
= render "projects/mirrors/show" = render "projects/mirrors/show"
=======
>>>>>>> upstream/master
-# Protected branches & tags use a lot of nested partials. -# Protected branches & tags use a lot of nested partials.
-# The shared parts of the views can be found in the `shared` directory. -# The shared parts of the views can be found in the `shared` directory.
-# Those are used throughout the actual views. These `shared` views are then -# Those are used throughout the actual views. These `shared` views are then
......
# Discussions API # Discussions API
<<<<<<< HEAD
Discussions are set of related notes on snippets, issues or epics. Discussions are set of related notes on snippets, issues or epics.
=======
Discussions are set of related notes on snippets or issues.
>>>>>>> upstream/master
## Issues ## Issues
...@@ -413,7 +409,6 @@ Parameters: ...@@ -413,7 +409,6 @@ Parameters:
```bash ```bash
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/5/snippets/11/discussions/636 curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/5/snippets/11/discussions/636
``` ```
<<<<<<< HEAD
## Epics ## Epics
...@@ -618,5 +613,3 @@ Parameters: ...@@ -618,5 +613,3 @@ Parameters:
```bash ```bash
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/groups/5/epics/11/discussions/636 curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/groups/5/epics/11/discussions/636
``` ```
=======
>>>>>>> upstream/master
...@@ -5,11 +5,7 @@ module API ...@@ -5,11 +5,7 @@ module API
before { authenticate! } before { authenticate! }
<<<<<<< HEAD
NOTEABLE_TYPES = [Issue, Snippet, Epic].freeze NOTEABLE_TYPES = [Issue, Snippet, Epic].freeze
=======
NOTEABLE_TYPES = [Issue, Snippet].freeze
>>>>>>> upstream/master
NOTEABLE_TYPES.each do |noteable_type| NOTEABLE_TYPES.each do |noteable_type|
parent_type = noteable_type.parent_class.to_s.underscore parent_type = noteable_type.parent_class.to_s.underscore
......
module API module API
module Helpers module Helpers
module NotesHelpers module NotesHelpers
<<<<<<< HEAD
prepend EE::API::Helpers::NotesHelpers prepend EE::API::Helpers::NotesHelpers
=======
>>>>>>> upstream/master
def update_note(noteable, note_id) def update_note(noteable, note_id)
note = noteable.notes.find(params[:note_id]) note = noteable.notes.find(params[:note_id])
......
...@@ -68,7 +68,6 @@ module Gitlab ...@@ -68,7 +68,6 @@ module Gitlab
nil nil
end end
<<<<<<< HEAD
# EE below # EE below
def try_megabytes_to_bytes(size) def try_megabytes_to_bytes(size)
Integer(size).megabytes Integer(size).megabytes
...@@ -76,9 +75,6 @@ module Gitlab ...@@ -76,9 +75,6 @@ module Gitlab
size size
end end
=======
# Used in EE
>>>>>>> upstream/master
# Accepts either an Array or a String and returns an array # Accepts either an Array or a String and returns an array
def ensure_array_from_string(string_or_array) def ensure_array_from_string(string_or_array)
return string_or_array if string_or_array.is_a?(Array) return string_or_array if string_or_array.is_a?(Array)
......
...@@ -30,7 +30,6 @@ describe API::Discussions do ...@@ -30,7 +30,6 @@ describe API::Discussions do
let(:note) { snippet_note } let(:note) { snippet_note }
end end
end end
<<<<<<< HEAD
context "when noteable is an Epic" do context "when noteable is an Epic" do
let(:group) { create(:group, :public, owner: user) } let(:group) { create(:group, :public, owner: user) }
...@@ -49,6 +48,4 @@ describe API::Discussions do ...@@ -49,6 +48,4 @@ describe API::Discussions do
let(:note) { epic_note } let(:note) { epic_note }
end end
end end
=======
>>>>>>> upstream/master
end end
...@@ -182,7 +182,6 @@ describe API::Notes do ...@@ -182,7 +182,6 @@ describe API::Notes do
end end
end end
end end
<<<<<<< HEAD
context "when noteable is an Epic" do context "when noteable is an Epic" do
let(:group) { create(:group, :public, owner: user) } let(:group) { create(:group, :public, owner: user) }
...@@ -201,6 +200,4 @@ describe API::Notes do ...@@ -201,6 +200,4 @@ describe API::Notes do
let(:note) { epic_note } let(:note) { epic_note }
end end
end end
=======
>>>>>>> upstream/master
end end
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