git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5073 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
aebcad6e4d
commit
6f5947729c
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue