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
3b572f2e
Commit
3b572f2e
authored
Sep 20, 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
27c9c5e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
app/controllers/projects/refs_controller.rb
app/controllers/projects/refs_controller.rb
+0
-9
No files found.
app/controllers/projects/refs_controller.rb
View file @
3b572f2e
...
...
@@ -52,28 +52,19 @@ class Projects::RefsController < Projects::ApplicationController
contents
.
push
(
*
tree
.
blobs
)
contents
.
push
(
*
tree
.
submodules
)
<<<<<<<
HEAD
show_path_locks
=
@project
.
feature_available?
(
:file_locks
)
&&
@project
.
path_locks
.
any?
=======
>>>>>>>
upstream
/
master
# n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/37433
@logs
=
Gitlab
::
GitalyClient
.
allow_n_plus_1_calls
do
contents
[
@offset
,
@limit
].
to_a
.
map
do
|
content
|
file
=
@path
?
File
.
join
(
@path
,
content
.
name
)
:
content
.
name
last_commit
=
@repo
.
last_commit_for_path
(
@commit
.
id
,
file
)
<<<<<<<
HEAD
path_lock
=
show_path_locks
&&
@project
.
find_path_lock
(
file
)
{
file_name:
content
.
name
,
commit:
last_commit
,
lock_label:
path_lock
&&
text_label_for_lock
(
path_lock
,
file
)
=======
{
file_name:
content
.
name
,
commit:
last_commit
>>>>>>>
upstream
/
master
}
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