No log messages for local objects after pull (#2932)

* No log messages for local objects after pull

In case a package contains objects that are are not part of the remote repository, the pull log contains messages like "Object (type ) only exists local; no import required". It is not necessary that messages for local object appears in the log. For pull requests, messages for the affected objects (objects to be imported) are sufficient.
This change ir related to issue #2931.

* rename (z)if_abapgit_definitions

rename (z)if_abapgit_definitions
This commit is contained in:
Martin Fuchs 2019-10-06 07:41:02 +02:00 committed by Lars Hvam
parent 22d19023e4
commit 67ebff3b7c

View File

@ -853,13 +853,7 @@ CLASS ZCL_ABAPGIT_OBJECTS IMPLEMENTATION.
BINARY SEARCH TRANSPORTING NO FIELDS. BINARY SEARCH TRANSPORTING NO FIELDS.
IF sy-subrc <> 0. IF sy-subrc <> 0.
"all parts exists only local "all parts exists only local
ls_item-devclass = lr_object->package. "no log message; ignore object for further messages
ls_item-obj_type = lr_object->obj_type.
ls_item-obj_name = lr_object->obj_name.
ii_log->add_success(
iv_msg = |Object { ls_item-obj_name } (type { ls_item-obj_type }) only exists local; no import required|
is_item = ls_item ).
"ignore object for further messages
DELETE lt_objects INDEX lv_tabix. DELETE lt_objects INDEX lv_tabix.
ENDIF. ENDIF.
ENDLOOP. ENDLOOP.