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
459145fa
Commit
459145fa
authored
Aug 09, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in app/models/repository.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
5f3caaf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
app/models/repository.rb
app/models/repository.rb
+0
-17
No files found.
app/models/repository.rb
View file @
459145fa
...
@@ -139,19 +139,6 @@ class Repository
...
@@ -139,19 +139,6 @@ class Repository
return
[]
return
[]
end
end
<<<<<<<
HEAD
ref
||=
root_ref
args
=
%W(
log
#{
ref
}
--pretty=%H --skip
#{
offset
}
--max-count
#{
limit
}
--grep=
#{
query
}
--regexp-ignore-case
)
args
=
args
.
concat
(
%W(--
#{
path
}
)
)
if
path
.
present?
git_log_results
=
run_git
(
args
).
first
.
lines
git_log_results
.
map
{
|
c
|
commit
(
c
.
chomp
)
}.
compact
=======
raw_repository
.
gitaly_migrate
(
:commits_by_message
)
do
|
is_enabled
|
raw_repository
.
gitaly_migrate
(
:commits_by_message
)
do
|
is_enabled
|
if
is_enabled
if
is_enabled
find_commits_by_message_by_gitaly
(
query
,
ref
,
path
,
limit
,
offset
)
find_commits_by_message_by_gitaly
(
query
,
ref
,
path
,
limit
,
offset
)
...
@@ -159,7 +146,6 @@ class Repository
...
@@ -159,7 +146,6 @@ class Repository
find_commits_by_message_by_shelling_out
(
query
,
ref
,
path
,
limit
,
offset
)
find_commits_by_message_by_shelling_out
(
query
,
ref
,
path
,
limit
,
offset
)
end
end
end
end
>>>>>>>
upstream
/
master
end
end
def
find_branch
(
name
,
fresh_repo:
true
)
def
find_branch
(
name
,
fresh_repo:
true
)
...
@@ -1276,8 +1262,6 @@ class Repository
...
@@ -1276,8 +1262,6 @@ class Repository
def
circuit_breaker
def
circuit_breaker
@circuit_breaker
||=
Gitlab
::
Git
::
Storage
::
CircuitBreaker
.
for_storage
(
project
.
repository_storage
)
@circuit_breaker
||=
Gitlab
::
Git
::
Storage
::
CircuitBreaker
.
for_storage
(
project
.
repository_storage
)
end
end
<<<<<<<
HEAD
=======
def
find_commits_by_message_by_shelling_out
(
query
,
ref
,
path
,
limit
,
offset
)
def
find_commits_by_message_by_shelling_out
(
query
,
ref
,
path
,
limit
,
offset
)
ref
||=
root_ref
ref
||=
root_ref
...
@@ -1299,5 +1283,4 @@ class Repository
...
@@ -1299,5 +1283,4 @@ class Repository
.
commits_by_message
(
query
,
revision:
ref
,
path:
path
,
limit:
limit
,
offset:
offset
)
.
commits_by_message
(
query
,
revision:
ref
,
path:
path
,
limit:
limit
,
offset:
offset
)
.
map
{
|
c
|
commit
(
c
)
}
.
map
{
|
c
|
commit
(
c
)
}
end
end
>>>>>>>
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