From e7de729198e9f20354ad1ff8e3437af3117cbd6e Mon Sep 17 00:00:00 2001 From: sbcgua Date: Sat, 5 Nov 2016 12:13:28 +0200 Subject: [PATCH] fixes for .abapgit --- src/zabapgit_file_status.prog.abap | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/zabapgit_file_status.prog.abap b/src/zabapgit_file_status.prog.abap index 55700cf20..345eacb50 100644 --- a/src/zabapgit_file_status.prog.abap +++ b/src/zabapgit_file_status.prog.abap @@ -73,9 +73,19 @@ CLASS lcl_file_status IMPLEMENTATION. it_tadir = lt_tadir iv_starting_folder = lo_dot_abapgit->get_starting_folder( ) ). - " Remove ignored files + " Remove ignored files, fix .abapgit LOOP AT rt_results ASSIGNING . lv_index = sy-tabix. + + " Crutch for .abapgit -> it is always match as generated dynamically + " However this is probably the place to compare it when local editing + " of it will be implemented + IF -path = gc_root_dir AND -filename = gc_dot_abapgit. + -match = abap_true. + -new = space. + CONTINUE. + ENDIF. + IF lo_dot_abapgit->is_ignored( iv_path = -path iv_filename = -filename ) = abap_true.