scm: git: show only filename and filesize if setting of reporting last commit is disable (#8365, #7047).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5775 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2011-05-13 03:55:21 +00:00
parent 625b7d9051
commit d65c3d438d
5 changed files with 20 additions and 5 deletions

View File

@@ -38,6 +38,10 @@ class Repository::Git < Repository
'Git'
end
def report_last_commit
extra_report_last_commit
end
def extra_report_last_commit
return false if extra_info.nil?
v = extra_info["extra_report_last_commit"]