Commit 5c3972ae1e2c40959b7a2da75b78396a09aacb5c

Authored by tsl0922
1 parent 4713fc34

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