scm: git: use the model value of whether reporting last commit in repository tree (#7047).

And remove entries_git() and the flag in adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5657 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2011-05-05 11:43:29 +00:00
parent 03fb61a782
commit 114e3f3b82
2 changed files with 5 additions and 11 deletions
+3 -1
View File
@@ -75,7 +75,9 @@ class Repository::Git < Repository
end
def entries(path=nil, identifier=nil)
scm.entries(path, identifier)
scm.entries(path,
identifier,
options = {:report_last_commit => report_last_commit})
end
# In Git and Mercurial, revisions are not in date order.