change branch to branch_name
This commit is contained in:
parent
817f577a6b
commit
6c12c43df0
|
@ -18,9 +18,10 @@ class ContributionsController < ApplicationController
|
|||
@del_count = Hash.new
|
||||
@change_count = Hash.new
|
||||
branches.each do |branch|
|
||||
branch_name = branch.name
|
||||
Rails.logger.info("!!!!!!! This is the branch:")
|
||||
Rails.logger.info(branch)
|
||||
static_total_per_user = @g.rep_stats(project_id, :rev => branch)
|
||||
Rails.logger.info(branch_name)
|
||||
static_total_per_user = @g.rep_stats(project_id, :rev => branch_name)
|
||||
static_total_per_user.each do |static|
|
||||
uname = static.uname.to_s
|
||||
change_num = static.changes.to_i
|
||||
|
|
Loading…
Reference in New Issue