szzh特殊处理

szzh
guange 10 years ago
parent 405104c403
commit 51e027fdc3

@ -711,7 +711,7 @@ update
end
# all_author = all_author.collect {|c| c.gsub(%r{/ /<.+@.+>}, '') }
all_author = all_author.collect {|c| c.split.first }
commits_by_author = repository.commits(all_author, "2015-01-24", "2015-07-24", @rev)
commits_by_author = repository.commits(all_author, "2015-01-24", "2015-07-24", repository.id == 150 ? "szzh" : 'master')
Rails.logger.debug "######################################{commits_by_author}"
fields = commits_by_author.collect {|r| r.first}

Loading…
Cancel
Save