From 04e71feabe40fe0499cc0c3869d1f89544a4c3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4semann?= <32765685+mkaesemann@users.noreply.github.com> Date: Thu, 23 Jul 2020 14:59:22 +0200 Subject: [PATCH] Improved staging robustness (#3625) * Improved staging robustness - Skipped any objects in the changelist that are not marked for staging prior to processing them , to avoid that they keep other objects without errors from being staged if the user wants to stage parts of the changes * Reduced line length * Removed missed whitespace * Update abaplint.json * Update abaplint.json Co-authored-by: Lars Hvam --- src/ui/zcl_abapgit_gui_page_stage.clas.abap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/zcl_abapgit_gui_page_stage.clas.abap b/src/ui/zcl_abapgit_gui_page_stage.clas.abap index e95cbc401..17152960e 100644 --- a/src/ui/zcl_abapgit_gui_page_stage.clas.abap +++ b/src/ui/zcl_abapgit_gui_page_stage.clas.abap @@ -590,7 +590,9 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_STAGE IMPLEMENTATION. CREATE OBJECT ro_stage. - LOOP AT lt_fields ASSIGNING . + LOOP AT lt_fields ASSIGNING + "Ignore Files that we don't want to stage, so any errors don't stop the staging process + WHERE value <> zif_abapgit_definitions=>c_method-skip. zcl_abapgit_path=>split_file_location( EXPORTING