OSDN Git Service

scm: git: use the model value of whether reporting last commit in repository tree...
[redminele/redmine.git] / app / models / repository / git.rb
index aa55545..d30ecda 100644 (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.