diff --git a/SourceGithub/SourceGithub.php b/SourceGithub/SourceGithub.php index f64bdc7..c10d4f5 100644 --- a/SourceGithub/SourceGithub.php +++ b/SourceGithub/SourceGithub.php @@ -262,6 +262,7 @@ if ( db_num_rows( $t_result ) > 0 ) { $t_parent = db_result( $t_result ); + echo "Oldest '$t_branch' branch parent: '$t_parent'\n"; if ( !empty( $t_parent ) ) { $t_commits[] = $t_parent; diff --git a/SourceGitweb/SourceGitweb.php b/SourceGitweb/SourceGitweb.php index dcc9eb4..0102797 100644 --- a/SourceGitweb/SourceGitweb.php +++ b/SourceGitweb/SourceGitweb.php @@ -195,13 +195,14 @@ if ( db_num_rows( $t_result ) > 0 ) { $t_parent = db_result( $t_result ); + echo "Oldest '$t_branch' branch parent: '$t_parent'\n"; if ( !empty( $t_parent ) ) { $t_commits[] = $t_parent; } } - $t_status = $this->import_commits( $p_repo, $this->uri_base( $p_repo ), $t_branch, $t_branch ); + $t_status = $this->import_commits( $p_repo, $this->uri_base( $p_repo ), $t_commits, $t_branch ); } echo '';