scm: git: override entries() in model for browsing tree performance (#7047).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5655 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-05-05 11:42:46 +00:00
parent 931fd58de6
commit 12f4b8b6d9
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ class Repository::Git < Repository
changesets.find(:first, :conditions => ['scmid LIKE ?', "#{name}%"])
end
def entries(path=nil, identifier=nil)
scm.entries(path, identifier)
end
# In Git and Mercurial, revisions are not in date order.
# Mercurial fixed issues.
# * Redmine Takes Too Long On Large Mercurial Repository