removed tags from repo activities

This commit is contained in:
Dmitriy Zaporozhets 2012-01-04 08:19:41 +02:00
parent 0ebc610e49
commit 05993f90e0
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ class Repository
end
def commits_with_refs(n = 20)
commits = repo.refs.map { |ref| Commit.new(ref.commit, ref) }
commits = repo.branches.map { |ref| Commit.new(ref.commit, ref) }
commits.sort! do |x, y|
y.committed_date <=> x.committed_date