Commit eb7cf9ba authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #6428 from tsl0922/remove-broken-diffs

remove dead code: broken_diffs
parents b2cab1c5 5c3972ae
No related merge requests found
...@@ -69,12 +69,6 @@ class MergeRequestDiff < ActiveRecord::Base ...@@ -69,12 +69,6 @@ class MergeRequestDiff < ActiveRecord::Base
end end
end end
# When Git::Diff is not able to get diff
# because of git timeout it return this value
def broken_diffs
[Gitlab::Git::Diff::BROKEN_DIFF]
end
# Collect array of Git::Commit objects # Collect array of Git::Commit objects
# between target and source branches # between target and source branches
def unmerged_commits def unmerged_commits
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment