传入@rev
This commit is contained in:
parent
c3d8e6c838
commit
405104c403
|
@ -711,7 +711,7 @@ update
|
||||||
end
|
end
|
||||||
# all_author = all_author.collect {|c| c.gsub(%r{/ /<.+@.+>}, '') }
|
# all_author = all_author.collect {|c| c.gsub(%r{/ /<.+@.+>}, '') }
|
||||||
all_author = all_author.collect {|c| c.split.first }
|
all_author = all_author.collect {|c| c.split.first }
|
||||||
commits_by_author = repository.commits(all_author, "2014-01-24", "2015-07-24")
|
commits_by_author = repository.commits(all_author, "2015-01-24", "2015-07-24", @rev)
|
||||||
Rails.logger.debug "######################################{commits_by_author}"
|
Rails.logger.debug "######################################{commits_by_author}"
|
||||||
|
|
||||||
fields = commits_by_author.collect {|r| r.first}
|
fields = commits_by_author.collect {|r| r.first}
|
||||||
|
|
Loading…
Reference in New Issue