mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 03:36:32 +08:00
separate repo from DELETE_BRANCH
This commit is contained in:
parent
71b7f9d788
commit
748a32f57c
|
@ -40,7 +40,7 @@ CLASS zcl_abapgit_git_porcelain DEFINITION
|
|||
zcx_abapgit_exception .
|
||||
CLASS-METHODS delete_branch
|
||||
IMPORTING
|
||||
!io_repo TYPE REF TO zcl_abapgit_repo_online
|
||||
!iv_url TYPE string
|
||||
!is_branch TYPE zif_abapgit_definitions=>ty_git_branch
|
||||
RAISING
|
||||
zcx_abapgit_exception .
|
||||
|
@ -292,7 +292,7 @@ CLASS ZCL_ABAPGIT_GIT_PORCELAIN IMPLEMENTATION.
|
|||
lv_pack = zcl_abapgit_git_pack=>encode( lt_objects ).
|
||||
|
||||
zcl_abapgit_git_transport=>receive_pack(
|
||||
iv_url = io_repo->get_url( )
|
||||
iv_url = iv_url
|
||||
iv_old = is_branch-sha1
|
||||
iv_new = c_zero
|
||||
iv_branch_name = is_branch-name
|
||||
|
|
|
@ -178,12 +178,12 @@ CLASS ZCL_ABAPGIT_SERVICES_GIT IMPLEMENTATION.
|
|||
ENDIF.
|
||||
|
||||
zcl_abapgit_git_porcelain=>delete_branch(
|
||||
io_repo = lo_repo
|
||||
iv_url = lo_repo->get_url( )
|
||||
is_branch = ls_branch ).
|
||||
|
||||
MESSAGE 'Branch deleted' TYPE 'S'.
|
||||
|
||||
ENDMETHOD. "delete_branch
|
||||
ENDMETHOD.
|
||||
|
||||
|
||||
METHOD delete_tag.
|
||||
|
|
Loading…
Reference in New Issue
Block a user