mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Avoid logon when comparing with remote (#5458)
"Data Config" is persisted on remote side only. Comparison feature reads the local part only and therefore does not support comparing of "data config". Therefore `get_files_remote` is not necessary. Closes #5189, #5443 Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
583d215114
commit
9d9b4327ad
|
@ -191,7 +191,7 @@ ENDCLASS.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CLASS ZCL_ABAPGIT_REPO IMPLEMENTATION.
|
CLASS zcl_abapgit_repo IMPLEMENTATION.
|
||||||
|
|
||||||
|
|
||||||
METHOD bind_listener.
|
METHOD bind_listener.
|
||||||
|
@ -429,11 +429,10 @@ CLASS ZCL_ABAPGIT_REPO IMPLEMENTATION.
|
||||||
RETURN.
|
RETURN.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
get_files_remote( ).
|
|
||||||
|
|
||||||
CREATE OBJECT ri_config TYPE zcl_abapgit_data_config.
|
CREATE OBJECT ri_config TYPE zcl_abapgit_data_config.
|
||||||
mi_data_config = ri_config.
|
mi_data_config = ri_config.
|
||||||
|
|
||||||
|
" Assume remote data has been loaded already
|
||||||
READ TABLE mt_remote ASSIGNING <ls_remote>
|
READ TABLE mt_remote ASSIGNING <ls_remote>
|
||||||
WITH KEY file_path
|
WITH KEY file_path
|
||||||
COMPONENTS path = zif_abapgit_data_config=>c_default_path.
|
COMPONENTS path = zif_abapgit_data_config=>c_default_path.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user