From 9d9b4327ad951ae805b8ff8fc29c7d1e3892e6df Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Fri, 8 Apr 2022 17:00:54 +0200 Subject: [PATCH] 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 --- src/repo/zcl_abapgit_repo.clas.abap | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/repo/zcl_abapgit_repo.clas.abap b/src/repo/zcl_abapgit_repo.clas.abap index dfc483711..0b97fc02a 100644 --- a/src/repo/zcl_abapgit_repo.clas.abap +++ b/src/repo/zcl_abapgit_repo.clas.abap @@ -191,7 +191,7 @@ ENDCLASS. -CLASS ZCL_ABAPGIT_REPO IMPLEMENTATION. +CLASS zcl_abapgit_repo IMPLEMENTATION. METHOD bind_listener. @@ -429,11 +429,10 @@ CLASS ZCL_ABAPGIT_REPO IMPLEMENTATION. RETURN. ENDIF. - get_files_remote( ). - CREATE OBJECT ri_config TYPE zcl_abapgit_data_config. mi_data_config = ri_config. + " Assume remote data has been loaded already READ TABLE mt_remote ASSIGNING WITH KEY file_path COMPONENTS path = zif_abapgit_data_config=>c_default_path.