fixed compare for push

This commit is contained in:
Dmitriy Zaporozhets 2012-02-29 23:34:06 +02:00
parent f6f939eeb8
commit 1924de91c5
2 changed files with 6 additions and 2 deletions

View file

@ -56,4 +56,8 @@ class Commit
def prev_commit
parents.first
end
def prev_commit_id
prev_commit.id
end
end