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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
08c1dd34
Commit
08c1dd34
authored
Aug 01, 2016
by
Ahmad Sherif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use commit deltas when counting files in IrkerWorker
parent
6eba7188
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CHANGELOG
CHANGELOG
+1
-1
app/workers/irker_worker.rb
app/workers/irker_worker.rb
+1
-1
No files found.
CHANGELOG
View file @
08c1dd34
...
...
@@ -57,7 +57,7 @@ v 8.11.0 (unreleased)
- Sensible state specific default sort order for issues and merge requests !5453 (tomb0y)
- Fix RequestProfiler::Middleware error when code is reloaded in development
- Catch what warden might throw when profiling requests to re-throw it
- Speed up and reduce memory usage of Commit#repo_changes
and Repository#expire_avatar_cache
- Speed up and reduce memory usage of Commit#repo_changes
, Repository#expire_avatar_cache and IrkerWorker
v 8.10.3
- Fix Import/Export issue importing milestones and labels not associated properly. !5426
...
...
app/workers/irker_worker.rb
View file @
08c1dd34
...
...
@@ -141,7 +141,7 @@ class IrkerWorker
end
def
files_count
(
commit
)
diffs
=
commit
.
raw_diffs
diffs
=
commit
.
raw_diffs
(
deltas_only:
true
)
files
=
"
#{
diffs
.
real_size
}
file"
files
+=
's'
if
diffs
.
size
>
1
...
...
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