Commit eb7cf9ba8222ba4d55b234ffe3b1a14197b0a3b9
Exists in
spb-stable
and in
3 other branches
Merge pull request #6428 from tsl0922/remove-broken-diffs
remove dead code: broken_diffs
Showing
1 changed file
with
0 additions
and
6 deletions
Show diff stats
app/models/merge_request_diff.rb
@@ -69,12 +69,6 @@ class MergeRequestDiff < ActiveRecord::Base | @@ -69,12 +69,6 @@ class MergeRequestDiff < ActiveRecord::Base | ||
69 | end | 69 | end |
70 | end | 70 | end |
71 | 71 | ||
72 | - # When Git::Diff is not able to get diff | ||
73 | - # because of git timeout it return this value | ||
74 | - def broken_diffs | ||
75 | - [Gitlab::Git::Diff::BROKEN_DIFF] | ||
76 | - end | ||
77 | - | ||
78 | # Collect array of Git::Commit objects | 72 | # Collect array of Git::Commit objects |
79 | # between target and source branches | 73 | # between target and source branches |
80 | def unmerged_commits | 74 | def unmerged_commits |