summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authortsl0922 <tsl0922@gmail.com>2014-02-27 14:58:27 +0800
committertsl0922 <tsl0922@gmail.com>2014-02-27 14:58:27 +0800
commit5c3972ae1e2c40959b7a2da75b78396a09aacb5c (patch)
treea61500f48948131b5fb045fbc3c5b1eeea7e4dc8 /app/models
parent4713fc34cf93b2d90a84c735e168a65df83bb4e1 (diff)
downloadgitlab-ce-5c3972ae1e2c40959b7a2da75b78396a09aacb5c.tar.gz
remove dead code: broken_diffs
Diffstat (limited to 'app/models')
-rw-r--r--app/models/merge_request_diff.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/merge_request_diff.rb b/app/models/merge_request_diff.rb
index a226fef7346..99afffc1db0 100644
--- a/app/models/merge_request_diff.rb
+++ b/app/models/merge_request_diff.rb
@@ -69,12 +69,6 @@ class MergeRequestDiff < ActiveRecord::Base
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
# between target and source branches
def unmerged_commits