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
1b8e68e6
Commit
1b8e68e6
authored
Nov 08, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in app/controllers/projects/refs_controller.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
69298f86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
app/controllers/projects/refs_controller.rb
app/controllers/projects/refs_controller.rb
+2
-8
No files found.
app/controllers/projects/refs_controller.rb
View file @
1b8e68e6
...
...
@@ -60,20 +60,14 @@ class Projects::RefsController < Projects::ApplicationController
file
=
@path
?
File
.
join
(
@path
,
content
.
name
)
:
content
.
name
last_commit
=
@repo
.
last_commit_for_path
(
@commit
.
id
,
file
)
commit_path
=
project_commit_path
(
@project
,
last_commit
)
if
last_commit
<<<<<<<
HEAD
path_lock
=
show_path_locks
&&
@project
.
find_path_lock
(
file
)
=======
>>>>>>>
upstream
/
master
{
file_name:
content
.
name
,
commit:
last_commit
,
type:
content
.
type
,
<<<<<<<
HEAD
lock_label:
path_lock
&&
text_label_for_lock
(
path_lock
,
file
),
=======
>>>>>>>
upstream
/
master
commit_path:
commit_path
commit_path:
commit_path
,
lock_label:
path_lock
&&
text_label_for_lock
(
path_lock
,
file
)
}
end
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