separate repo from PULL

This commit is contained in:
larshp 2018-08-05 10:11:14 +00:00 committed by Lars Hvam
parent 28adb2f790
commit 703b1022f5
2 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,8 @@ CLASS zcl_abapgit_git_porcelain DEFINITION
CLASS-METHODS pull
IMPORTING
!io_repo TYPE REF TO zcl_abapgit_repo_online
!iv_url TYPE string
!iv_branch_name TYPE string
EXPORTING
!et_files TYPE zif_abapgit_definitions=>ty_files_tt
!et_objects TYPE zif_abapgit_definitions=>ty_objects_tt
@ -394,8 +395,8 @@ CLASS ZCL_ABAPGIT_GIT_PORCELAIN IMPLEMENTATION.
zcl_abapgit_git_transport=>upload_pack(
EXPORTING
iv_url = io_repo->get_url( )
iv_branch_name = io_repo->get_branch_name( )
iv_url = iv_url
iv_branch_name = iv_branch_name
IMPORTING
et_objects = et_objects
ev_branch = ev_branch

View File

@ -349,7 +349,8 @@ CLASS ZCL_ABAPGIT_REPO_ONLINE IMPLEMENTATION.
zcl_abapgit_git_porcelain=>pull(
EXPORTING
io_repo = me
iv_url = get_url( )
iv_branch_name = get_branch_name( )
IMPORTING
et_files = mt_remote
et_objects = mt_objects