REpostiry, Team models
This commit is contained in:
parent
e6c0673ef1
commit
39ba934c0a
31 changed files with 329 additions and 315 deletions
|
@ -83,8 +83,8 @@ class Commit
|
|||
|
||||
return result unless from && to
|
||||
|
||||
first = project.commit(to.try(:strip))
|
||||
last = project.commit(from.try(:strip))
|
||||
first = project.repository.commit(to.try(:strip))
|
||||
last = project.repository.commit(from.try(:strip))
|
||||
|
||||
if first && last
|
||||
result[:same] = (first.id == last.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue