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:
parent
931fd58de6
commit
12f4b8b6d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue