TABU: Fix staging in background process (#6683)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
Marc Bernard 2023-12-01 11:20:02 -05:00 committed by GitHub
parent 2ec48b7ddc
commit 29c9018300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,13 +87,15 @@ CLASS zcl_abapgit_stage_logic IMPLEMENTATION.
METHOD zif_abapgit_stage_logic~get.
" Getting REMOTE before LOCAL is critical to ensure that DATA config is loaded first
rs_files-remote = io_repo->get_files_remote( ii_obj_filter ).
IF ii_obj_filter IS INITIAL.
rs_files-local = io_repo->get_files_local( ).
ELSE.
rs_files-local = io_repo->get_files_local_filtered( ii_obj_filter ).
ENDIF.
rs_files-remote = io_repo->get_files_remote( ii_obj_filter ).
rs_files-status = zcl_abapgit_repo_status=>calculate( io_repo = io_repo
ii_obj_filter = ii_obj_filter ).