BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ce793073
Commit
ce793073
authored
May 09, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zj-remove-rugged-call' into 'master'
Remove rugged call in blame controller See merge request gitlab-org/gitlab-ce!18817
parents
1802954b
4f15460d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
blame.rb
lib/gitlab/git/blame.rb
+3
-7
No files found.
lib/gitlab/git/blame.rb
View file @
ce793073
...
...
@@ -15,10 +15,7 @@ module Gitlab
def
each
@blames
.
each
do
|
blame
|
yield
(
Gitlab
::
Git
::
Commit
.
new
(
@repo
,
blame
.
commit
),
blame
.
line
)
yield
(
blame
.
commit
,
blame
.
line
)
end
end
...
...
@@ -60,9 +57,8 @@ module Gitlab
end
end
# load all commits in single call
commits
.
keys
.
each
do
|
key
|
commits
[
key
]
=
@repo
.
lookup
(
key
)
Gitlab
::
Git
::
Commit
.
batch_by_oid
(
@repo
,
commits
.
keys
).
each
do
|
commit
|
commits
[
commit
.
sha
]
=
commit
end
# get it together
...
...
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