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
fc95af05
Commit
fc95af05
authored
May 17, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
parent
f2a4cced
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
21 deletions
+1
-21
app/helpers/diff_helper.rb
app/helpers/diff_helper.rb
+0
-4
app/models/blob.rb
app/models/blob.rb
+0
-4
app/views/projects/branches/new.html.haml
app/views/projects/branches/new.html.haml
+0
-4
features/project/project.feature
features/project/project.feature
+1
-3
features/steps/project/project.rb
features/steps/project/project.rb
+0
-3
spec/policies/project_snippet_policy_spec.rb
spec/policies/project_snippet_policy_spec.rb
+0
-3
No files found.
app/helpers/diff_helper.rb
View file @
fc95af05
...
...
@@ -98,11 +98,7 @@ module DiffHelper
[
content_tag
(
:span
,
link_to
(
truncate
(
blob
.
name
,
length:
40
),
tree
)),
'@'
,
<<<<<<<
HEAD
content_tag
(
:span
,
commit_id
,
class:
'monospace'
)
=======
content_tag
(
:span
,
commit_id
,
class:
'commit-sha'
)
>>>>>>>
upstream
/
master
].
join
(
' '
).
html_safe
end
...
...
app/models/blob.rb
View file @
fc95af05
...
...
@@ -34,15 +34,11 @@ class Blob < SimpleDelegator
BlobViewer
::
BinarySTL
,
BlobViewer
::
TextSTL
<<<<<<<
HEAD
].
freeze
=======
].
sort_by
{
|
v
|
v
.
binary?
?
0
:
1
}.
freeze
AUXILIARY_VIEWERS
=
[
BlobViewer
::
GitlabCiYml
,
BlobViewer
::
RouteMap
,
>>>>>>>
upstream
/
master
BlobViewer
::
License
,
BlobViewer
::
Contributing
...
...
app/views/projects/branches/new.html.haml
View file @
fc95af05
...
...
@@ -20,11 +20,7 @@
.col-sm-10.create-from
.dropdown
=
hidden_field_tag
:ref
,
default_ref
<
<<<<<<
HEAD
=
button_tag
type:
'button'
,
title:
default_ref
,
class:
'dropdown-menu-toggle wide form-control js-branch-select'
,
required:
true
,
data:
{
toggle:
'dropdown'
,
selected:
default_ref
,
field_name:
'ref'
}
do
==
=====
=
button_tag
type:
'button'
,
title:
default_ref
,
class:
'dropdown-menu-toggle wide form-control js-branch-select git-revision-dropdown-toggle'
,
required:
true
,
data:
{
toggle:
'dropdown'
,
selected:
default_ref
,
field_name:
'ref'
}
do
>
>>>>>> upstream/master
.text-left.dropdown-toggle-text
=
default_ref
=
icon
(
'chevron-down'
)
=
render
'shared/ref_dropdown'
,
dropdown_class:
'wide'
...
...
features/project/project.feature
View file @
fc95af05
...
...
@@ -19,14 +19,12 @@ Feature: Project
And
I should not see the
"Remove avatar"
button
@javascript
<<<<<<<
HEAD
Scenario
:
I
enable issues
Given
I visit edit project
"Shop"
page
When
I enable project issues
Then
I should see the issues settings
=======
>>>>>>>
upstream/master
@javascript
Scenario
:
I
should have readme on page
And
I visit project
"Shop"
page
Then
I should see project
"Shop"
README
...
...
features/steps/project/project.rb
View file @
fc95af05
...
...
@@ -2,11 +2,8 @@ class Spinach::Features::Project < Spinach::FeatureSteps
include
SharedAuthentication
include
SharedProject
include
SharedPaths
<<<<<<<
HEAD
include
Select2Helper
=======
include
WaitForAjax
>>>>>>>
upstream
/
master
step
'change project settings'
do
fill_in
'project_name_edit'
,
with:
'NewName'
...
...
spec/policies/project_snippet_policy_spec.rb
View file @
fc95af05
...
...
@@ -142,7 +142,6 @@ describe ProjectSnippetPolicy, models: true do
subject
{
abilities
(
external_user
,
:private
)
}
before
{
project
.
team
<<
[
external_user
,
:developer
]
}
<<<<<<<
HEAD
it
do
is_expected
.
to
include
(
:read_project_snippet
)
...
...
@@ -153,8 +152,6 @@ describe ProjectSnippetPolicy, models: true do
context
'auditor user'
do
let
(
:current_user
)
{
create
(
:user
,
:auditor
)
}
subject
{
abilities
(
current_user
,
:private
)
}
=======
>>>>>>>
upstream
/
master
it
do
is_expected
.
to
include
(
:read_project_snippet
)
...
...
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