Remove unused methods
This commit is contained in:
parent
e3d7ce2cc4
commit
5a214ee6f1
10 changed files with 9 additions and 62 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue