summaryrefslogtreecommitdiffstats
path: root/app/models/repository/git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/repository/git.rb')
-rw-r--r--app/models/repository/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb
index fb5c26a7e..ebb0dd7e6 100644
--- a/app/models/repository/git.rb
+++ b/app/models/repository/git.rb
@@ -77,7 +77,7 @@ class Repository::Git < Repository
c = changesets.find(:first, :order => 'committed_on DESC')
since = (c ? c.committed_on - 7.days : nil)
- revisions = scm.revisions('', nil, nil, :all => true, :since => since)
+ revisions = scm.revisions('', nil, nil, {:all => true, :since => since, :reverse => true})
return if revisions.nil? || revisions.empty?
recent_changesets = changesets.find(:all, :conditions => ['committed_on >= ?', since])