summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-05 11:43:09 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-05 11:43:09 +0000
commit03fb61a782a3bb8233315facd0a7b47693cd3deb (patch)
tree66372e88e5993e0315633128715366a38e7ea9f2 /app/models
parent12f4b8b6d94c1b78eae8cdcfc2e9557cf0ddab00 (diff)
downloadredmine-03fb61a782a3bb8233315facd0a7b47693cd3deb.tar.gz
redmine-03fb61a782a3bb8233315facd0a7b47693cd3deb.zip
scm: git: add the model method whether reporting last commit in repository tree (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5656 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/repository/git.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb
index 8453b633b..aa5554569 100644
--- a/app/models/repository/git.rb
+++ b/app/models/repository/git.rb
@@ -37,6 +37,10 @@ class Repository::Git < Repository
'Git'
end
+ def report_last_commit
+ true
+ end
+
def supports_directory_revisions?
true
end