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
58f0bd67
Commit
58f0bd67
authored
Mar 07, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
parent
807dad1e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
30 deletions
+0
-30
app/models/repository.rb
app/models/repository.rb
+0
-3
app/views/projects/settings/repository/show.html.haml
app/views/projects/settings/repository/show.html.haml
+0
-3
doc/api/discussions.md
doc/api/discussions.md
+0
-7
lib/api/discussions.rb
lib/api/discussions.rb
+0
-4
lib/api/helpers/notes_helpers.rb
lib/api/helpers/notes_helpers.rb
+0
-3
lib/gitlab/utils.rb
lib/gitlab/utils.rb
+0
-4
spec/requests/api/discussions_spec.rb
spec/requests/api/discussions_spec.rb
+0
-3
spec/requests/api/notes_spec.rb
spec/requests/api/notes_spec.rb
+0
-3
No files found.
app/models/repository.rb
View file @
58f0bd67
...
...
@@ -929,7 +929,6 @@ class Repository
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
)
<<<<<<<
HEAD
end
def
async_remove_remote
(
remote_name
)
...
...
@@ -944,8 +943,6 @@ class Repository
end
job_id
=======
>>>>>>>
upstream
/
master
end
def
fetch_source_branch!
(
source_repository
,
source_branch
,
local_ref
)
...
...
app/views/projects/settings/repository/show.html.haml
View file @
58f0bd67
...
...
@@ -2,12 +2,9 @@
-
page_title
"Repository"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
<
<<<<<<
HEAD
=
render
"projects/push_rules/index"
=
render
"projects/mirrors/show"
==
=====
>
>>>>>> upstream/master
-# Protected branches & tags use a lot of nested partials.
-# 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
...
...
doc/api/discussions.md
View file @
58f0bd67
# Discussions API
<<<<<<< HEAD
Discussions are set of related notes on snippets, issues or epics.
=======
Discussions are set of related notes on snippets or issues.
>>>>>>> upstream/master
## Issues
...
...
@@ -413,7 +409,6 @@ Parameters:
```
bash
curl
--request
DELETE
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v4/projects/5/snippets/11/discussions/636
```
<<<<<<< HEAD
## Epics
...
...
@@ -618,5 +613,3 @@ Parameters:
```
bash
curl
--request
DELETE
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v4/groups/5/epics/11/discussions/636
```
=======
>>>>>>> upstream/master
lib/api/discussions.rb
View file @
58f0bd67
...
...
@@ -5,11 +5,7 @@ module API
before
{
authenticate!
}
<<<<<<<
HEAD
NOTEABLE_TYPES
=
[
Issue
,
Snippet
,
Epic
].
freeze
=======
NOTEABLE_TYPES
=
[
Issue
,
Snippet
].
freeze
>>>>>>>
upstream
/
master
NOTEABLE_TYPES
.
each
do
|
noteable_type
|
parent_type
=
noteable_type
.
parent_class
.
to_s
.
underscore
...
...
lib/api/helpers/notes_helpers.rb
View file @
58f0bd67
module
API
module
Helpers
module
NotesHelpers
<<<<<<<
HEAD
prepend
EE
::
API
::
Helpers
::
NotesHelpers
=======
>>>>>>>
upstream
/
master
def
update_note
(
noteable
,
note_id
)
note
=
noteable
.
notes
.
find
(
params
[
:note_id
])
...
...
lib/gitlab/utils.rb
View file @
58f0bd67
...
...
@@ -68,7 +68,6 @@ module Gitlab
nil
end
<<<<<<<
HEAD
# EE below
def
try_megabytes_to_bytes
(
size
)
Integer
(
size
).
megabytes
...
...
@@ -76,9 +75,6 @@ module Gitlab
size
end
=======
# Used in EE
>>>>>>>
upstream
/
master
# Accepts either an Array or a String and returns an array
def
ensure_array_from_string
(
string_or_array
)
return
string_or_array
if
string_or_array
.
is_a?
(
Array
)
...
...
spec/requests/api/discussions_spec.rb
View file @
58f0bd67
...
...
@@ -30,7 +30,6 @@ describe API::Discussions do
let
(
:note
)
{
snippet_note
}
end
end
<<<<<<<
HEAD
context
"when noteable is an Epic"
do
let
(
:group
)
{
create
(
:group
,
:public
,
owner:
user
)
}
...
...
@@ -49,6 +48,4 @@ describe API::Discussions do
let
(
:note
)
{
epic_note
}
end
end
=======
>>>>>>>
upstream
/
master
end
spec/requests/api/notes_spec.rb
View file @
58f0bd67
...
...
@@ -182,7 +182,6 @@ describe API::Notes do
end
end
end
<<<<<<<
HEAD
context
"when noteable is an Epic"
do
let
(
:group
)
{
create
(
:group
,
:public
,
owner:
user
)
}
...
...
@@ -201,6 +200,4 @@ describe API::Notes do
let
(
:note
)
{
epic_note
}
end
end
=======
>>>>>>>
upstream
/
master
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