diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-05 15:11:15 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-05 15:11:15 +0400 |
commit | 5a214ee6f198a90f41a54b3dd7f2ff6a318a8deb (patch) | |
tree | cd1f0645953fede0a55e9ab55e7a29f41480c983 /app/models/commit.rb | |
parent | e3d7ce2cc482a730b2dc63ca09057b22a960b998 (diff) |
Remove unused methods
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 4 |
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. |