summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-05 13:11:15 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-05 13:11:15 +0200
commit5a214ee6f198a90f41a54b3dd7f2ff6a318a8deb (patch)
treecd1f0645953fede0a55e9ab55e7a29f41480c983 /app/models/commit.rb
parente3d7ce2cc482a730b2dc63ca09057b22a960b998 (diff)
downloadgitlab-ce-5a214ee6f198a90f41a54b3dd7f2ff6a318a8deb.tar.gz
Remove unused methods
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 7e64c0f6e82..17d41f27f34 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -149,10 +149,6 @@ class Commit
prev_commit.try :id
end
- def parents_count
- parents && parents.count || 0
- end
-
# Shows the diff between the commit's parent and the commit.
#
# Cuts out the header and stats from #to_patch and returns only the diff.