mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
downport loop statement (#3456)
* downport loop statement * whitespace fix
This commit is contained in:
parent
d36b43defe
commit
da9fcd673f
|
@ -341,14 +341,17 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_REPO_SETT IMPLEMENTATION.
|
||||||
READ TABLE it_post_fields INTO ls_post_field WITH KEY name = 'ignore_files'.
|
READ TABLE it_post_fields INTO ls_post_field WITH KEY name = 'ignore_files'.
|
||||||
ASSERT sy-subrc = 0.
|
ASSERT sy-subrc = 0.
|
||||||
|
|
||||||
SPLIT ls_post_field-value AT zif_abapgit_definitions=>c_newline INTO TABLE lt_ignore.
|
|
||||||
DELETE lt_ignore WHERE table_line IS INITIAL.
|
|
||||||
" Remove everything
|
" Remove everything
|
||||||
LOOP AT lo_dot->get_data( )-ignore INTO lv_ignore.
|
lt_ignore = lo_dot->get_data( )-ignore.
|
||||||
|
LOOP AT lt_ignore INTO lv_ignore.
|
||||||
lo_dot->remove_ignore( iv_path = ''
|
lo_dot->remove_ignore( iv_path = ''
|
||||||
iv_filename = lv_ignore ).
|
iv_filename = lv_ignore ).
|
||||||
ENDLOOP.
|
ENDLOOP.
|
||||||
|
|
||||||
" Add newly entered files
|
" Add newly entered files
|
||||||
|
CLEAR lt_ignore.
|
||||||
|
SPLIT ls_post_field-value AT zif_abapgit_definitions=>c_newline INTO TABLE lt_ignore.
|
||||||
|
DELETE lt_ignore WHERE table_line IS INITIAL.
|
||||||
LOOP AT lt_ignore INTO lv_ignore.
|
LOOP AT lt_ignore INTO lv_ignore.
|
||||||
lo_dot->add_ignore( iv_path = ''
|
lo_dot->add_ignore( iv_path = ''
|
||||||
iv_filename = lv_ignore ).
|
iv_filename = lv_ignore ).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user