Merge pull request #1492 from christianguenter2/1355

disable "no changes" for offline projects
This commit is contained in:
Lars Hvam 2018-06-12 08:42:20 +02:00 committed by GitHub
commit f846f250a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ ENDCLASS.
CLASS ZCL_ABAPGIT_REPO_CONTENT_LIST IMPLEMENTATION.
CLASS zcl_abapgit_repo_content_list IMPLEMENTATION.
METHOD build_folders.
@ -209,7 +209,8 @@ CLASS ZCL_ABAPGIT_REPO_CONTENT_LIST IMPLEMENTATION.
CHANGING ct_repo_items = rt_repo_items ).
ENDIF.
IF iv_changes_only = abap_true.
IF iv_changes_only = abap_true AND mo_repo->is_offline( ) = abap_false.
" There are never changes for offline repositories
filter_changes( CHANGING ct_repo_items = rt_repo_items ).
ENDIF.