| ... | ... |
@@ -1005,7 +1005,7 @@ sub parse_commit_text {
|
| 1005 | 1005 |
return \%commit; |
| 1006 | 1006 |
} |
| 1007 | 1007 |
|
| 1008 |
-sub parse_commits {
|
|
| 1008 |
+sub get_commits {
|
|
| 1009 | 1009 |
my ($self, $user, $project, $cid, $maxcount, $skip, $file, @args) = @_; |
| 1010 | 1010 |
|
| 1011 | 1011 |
# Get Commits |
| ... | ... |
@@ -17,7 +17,7 @@ |
| 17 | 17 |
|
| 18 | 18 |
# Commits |
| 19 | 19 |
my $page_count = 30; |
| 20 |
- my $commits = $git->parse_commits( |
|
| 20 |
+ my $commits = $git->get_commits( |
|
| 21 | 21 |
$user, |
| 22 | 22 |
$project, |
| 23 | 23 |
$commit->{id},
|
| ... | ... |
@@ -6,8 +6,8 @@ |
| 6 | 6 |
my $remote_project = param('remote_project');
|
| 7 | 7 |
my $remote_branch = param('remote_branch');
|
| 8 | 8 |
|
| 9 |
- my $commits = app->git->parse_commits($user, $project, $branch, 100); |
|
| 10 |
- my $remote_commits = app->git->parse_commits( |
|
| 9 |
+ my $commits = app->git->get_commits($user, $project, $branch, 100); |
|
| 10 |
+ my $remote_commits = app->git->get_commits( |
|
| 11 | 11 |
$remote_user, |
| 12 | 12 |
$remote_project, |
| 13 | 13 |
$remote_branch, |