mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
With 'show changes only' enabled, also filter changed files, not just objects (#2740)
* When 'show changes only' enabled, also filter changed files, not just objects Fixes #2739 * fix whitespace * Fix syntax error
This commit is contained in:
parent
0b78d4c1a8
commit
abc43d4e5a
|
@ -197,8 +197,12 @@ CLASS ZCL_ABAPGIT_REPO_CONTENT_LIST IMPLEMENTATION.
|
|||
|
||||
METHOD filter_changes.
|
||||
|
||||
DELETE ct_repo_items WHERE changes = 0.
|
||||
FIELD-SYMBOLS: <ls_item> TYPE zif_abapgit_definitions=>ty_repo_item.
|
||||
|
||||
DELETE ct_repo_items WHERE changes = 0.
|
||||
LOOP AT ct_repo_items ASSIGNING <ls_item>.
|
||||
DELETE <ls_item>-files WHERE is_changed = abap_false.
|
||||
ENDLOOP.
|
||||
ENDMETHOD.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user