|
|
@ -38,8 +38,8 @@ class Repository::Git < Repository
|
|
|
|
'Git'
|
|
|
|
'Git'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def commits(authors, start_date, end_date)
|
|
|
|
def commits(authors, start_date, end_date, branch='master')
|
|
|
|
scm.commits(authors, start_date, end_date).map {|commit|
|
|
|
|
scm.commits(authors, start_date, end_date,branch).map {|commit|
|
|
|
|
[commit[:author], commit[:num]]
|
|
|
|
[commit[:author], commit[:num]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|