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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user