mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
Merge pull request #1546 from christianguenter2/issue_1545
Fix naming in file_status
This commit is contained in:
commit
4b36a10d6e
|
@ -57,7 +57,7 @@ ENDCLASS.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CLASS ZCL_ABAPGIT_FILE_STATUS IMPLEMENTATION.
|
CLASS zcl_abapgit_file_status IMPLEMENTATION.
|
||||||
|
|
||||||
|
|
||||||
METHOD build_existing.
|
METHOD build_existing.
|
||||||
|
@ -186,13 +186,13 @@ CLASS ZCL_ABAPGIT_FILE_STATUS IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD calculate_status.
|
METHOD calculate_status.
|
||||||
|
|
||||||
DATA: lt_remote LIKE it_remote,
|
DATA: lt_remote LIKE it_remote,
|
||||||
lt_items TYPE zif_abapgit_definitions=>ty_items_tt,
|
lt_items TYPE zif_abapgit_definitions=>ty_items_tt,
|
||||||
ls_item LIKE LINE OF lt_items,
|
ls_item LIKE LINE OF lt_items,
|
||||||
lv_is_xml TYPE abap_bool,
|
lv_is_xml TYPE abap_bool,
|
||||||
lt_super TYPE zif_abapgit_sap_package=>ty_devclass_tt,
|
lt_sub_packages TYPE zif_abapgit_sap_package=>ty_devclass_tt,
|
||||||
lt_items_idx TYPE zif_abapgit_definitions=>ty_items_ts,
|
lt_items_idx TYPE zif_abapgit_definitions=>ty_items_ts,
|
||||||
lt_state_idx TYPE zif_abapgit_definitions=>ty_file_signatures_ts. " Sorted by path+filename
|
lt_state_idx TYPE zif_abapgit_definitions=>ty_file_signatures_ts. " Sorted by path+filename
|
||||||
|
|
||||||
FIELD-SYMBOLS: <ls_remote> LIKE LINE OF it_remote,
|
FIELD-SYMBOLS: <ls_remote> LIKE LINE OF it_remote,
|
||||||
<ls_result> LIKE LINE OF rt_results,
|
<ls_result> LIKE LINE OF rt_results,
|
||||||
|
@ -242,8 +242,8 @@ CLASS ZCL_ABAPGIT_FILE_STATUS IMPLEMENTATION.
|
||||||
|
|
||||||
IF NOT ls_item-devclass IS INITIAL AND iv_devclass <> ls_item-devclass.
|
IF NOT ls_item-devclass IS INITIAL AND iv_devclass <> ls_item-devclass.
|
||||||
* make sure the package is under the repo main package
|
* make sure the package is under the repo main package
|
||||||
lt_super = zcl_abapgit_factory=>get_sap_package( iv_devclass )->list_subpackages( ).
|
lt_sub_packages = zcl_abapgit_factory=>get_sap_package( iv_devclass )->list_subpackages( ).
|
||||||
READ TABLE lt_super WITH KEY table_line = ls_item-devclass TRANSPORTING NO FIELDS.
|
READ TABLE lt_sub_packages WITH KEY table_line = ls_item-devclass TRANSPORTING NO FIELDS.
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
CLEAR ls_item-devclass.
|
CLEAR ls_item-devclass.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user