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
886e3327
Commit
886e3327
authored
Apr 20, 2018
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflicts in issue models
parent
a48e7a0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
app/models/issue.rb
app/models/issue.rb
+0
-3
spec/models/issue_spec.rb
spec/models/issue_spec.rb
+0
-3
No files found.
app/models/issue.rb
View file @
886e3327
...
...
@@ -201,7 +201,6 @@ class Issue < ActiveRecord::Base
branches_with_iid
-
branches_with_merge_request
end
<<<<<<<
HEAD
def
related_issues
(
current_user
,
preload:
nil
)
related_issues
=
Issue
.
select
([
'issues.*'
,
'issue_links.id AS issue_link_id'
])
...
...
@@ -219,8 +218,6 @@ class Issue < ActiveRecord::Base
)
end
=======
>>>>>>>
upstream
/
master
def
suggested_branch_name
return
to_branch_name
unless
project
.
repository
.
branch_exists?
(
to_branch_name
)
...
...
spec/models/issue_spec.rb
View file @
886e3327
...
...
@@ -376,7 +376,6 @@ describe Issue do
end
end
<<<<<<<
HEAD
describe
'#related_issues'
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:authorized_project
)
{
create
(
:project
)
}
...
...
@@ -414,8 +413,6 @@ describe Issue do
end
end
=======
>>>>>>>
upstream
/
master
describe
'#suggested_branch_name'
do
let
(
:repository
)
{
double
}
...
...
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