From: Toshi MARUYAMA Date: Sat, 23 Nov 2019 15:10:25 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/repository/git.rb X-Git-Tag: 4.2.0~1432 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0b487967da4b9049eded3c335173cc71a8e63633;p=redmine.git cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/repository/git.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19208 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb index 97ae64e88..7b91778a4 100644 --- a/app/models/repository/git.rb +++ b/app/models/repository/git.rb @@ -243,7 +243,7 @@ class Repository::Git < Repository h['branches'].map{|br, hs| hs['last_scmid']} end - def latest_changesets(path,rev,limit=10) + def latest_changesets(path, rev, limit=10) revisions = scm.revisions(path, nil, rev, :limit => limit, :all => false) return [] if revisions.nil? || revisions.empty?