From 5504c67669879fc466969ef86cd6a44db06ebd4b Mon Sep 17 00:00:00 2001 From: Fabian Lupa Date: Sun, 18 Oct 2020 08:58:08 +0200 Subject: [PATCH] Include inactive objects in show changes only (#4040) Fixes #4022 --- src/zcl_abapgit_repo_content_list.clas.abap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zcl_abapgit_repo_content_list.clas.abap b/src/zcl_abapgit_repo_content_list.clas.abap index d8f6c7329..ea5f376b3 100644 --- a/src/zcl_abapgit_repo_content_list.clas.abap +++ b/src/zcl_abapgit_repo_content_list.clas.abap @@ -200,8 +200,8 @@ CLASS ZCL_ABAPGIT_REPO_CONTENT_LIST IMPLEMENTATION. FIELD-SYMBOLS: TYPE zif_abapgit_definitions=>ty_repo_item. - DELETE ct_repo_items WHERE changes = 0. - LOOP AT ct_repo_items ASSIGNING . + DELETE ct_repo_items WHERE changes = 0 AND inactive = abap_false. + LOOP AT ct_repo_items ASSIGNING WHERE inactive = abap_false. DELETE -files WHERE is_changed = abap_false. ENDLOOP. ENDMETHOD.