| ... | @@ -8,7 +8,7 @@ module Project::RepositoryTrait |
... | @@ -8,7 +8,7 @@ module Project::RepositoryTrait |
|
|
end
|
|
end
|
|
|
|
|
|
|
|
def commit(commit_id = nil)
|
|
def commit(commit_id = nil)
|
|
|
Commit.find_or_first(repo, commit_id)
|
|
Commit.find_or_first(repo, commit_id, root_ref)
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
def fresh_commits(n = 10)
|
|
def fresh_commits(n = 10)
|
| ... | |
... | |
| ... | | ... | |