From a62eae188ad71b35d73103b449f20fa9a536a992 Mon Sep 17 00:00:00 2001 From: Christian Guenter Date: Mon, 11 Jun 2018 14:49:20 +0000 Subject: [PATCH] disable "no changes" for offline projects --- src/zcl_abapgit_repo_content_list.clas.abap | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/zcl_abapgit_repo_content_list.clas.abap b/src/zcl_abapgit_repo_content_list.clas.abap index 6ab245a2e..7ece8bec4 100644 --- a/src/zcl_abapgit_repo_content_list.clas.abap +++ b/src/zcl_abapgit_repo_content_list.clas.abap @@ -47,7 +47,7 @@ ENDCLASS. -CLASS ZCL_ABAPGIT_REPO_CONTENT_LIST IMPLEMENTATION. +CLASS zcl_abapgit_repo_content_list IMPLEMENTATION. METHOD build_folders. @@ -209,7 +209,8 @@ CLASS ZCL_ABAPGIT_REPO_CONTENT_LIST IMPLEMENTATION. CHANGING ct_repo_items = rt_repo_items ). ENDIF. - IF iv_changes_only = abap_true. + IF iv_changes_only = abap_true AND mo_repo->is_offline( ) = abap_false. + " There are never changes for offline repositories filter_changes( CHANGING ct_repo_items = rt_repo_items ). ENDIF.