diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-05 11:43:29 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-05 11:43:29 +0000 |
commit | 114e3f3b826c13f46c2c87df30d8aa957d9426da (patch) | |
tree | 4259d7af3398ce0cf86e047480823cf21e8fa871 /app/models/repository | |
parent | 03fb61a782a3bb8233315facd0a7b47693cd3deb (diff) | |
download | redmine-114e3f3b826c13f46c2c87df30d8aa957d9426da.tar.gz redmine-114e3f3b826c13f46c2c87df30d8aa957d9426da.zip |
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
Diffstat (limited to 'app/models/repository')
-rw-r--r-- | app/models/repository/git.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb index aa5554569..d30ecdad4 100644 --- a/app/models/repository/git.rb +++ b/app/models/repository/git.rb @@ -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. |