mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 04:36:49 +08:00
Fix pull errors related to files deleted remotely (#4281)
In case files are deleted remotely, the files are now ignored during a pull. In other words, "pull" will not touch objects that exist only locally and not remotely. To delete such objects locally, use "reset local (forced pull)" which will show a popup for these objects and let you delete them. Closes #4277 Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
3c598bbf60
commit
b31885796d
|
@ -670,7 +670,7 @@ CLASS zcl_abapgit_objects IMPLEMENTATION.
|
||||||
it_items = lt_items ).
|
it_items = lt_items ).
|
||||||
|
|
||||||
lo_folder_logic = zcl_abapgit_folder_logic=>get_instance( ).
|
lo_folder_logic = zcl_abapgit_folder_logic=>get_instance( ).
|
||||||
LOOP AT lt_results ASSIGNING <ls_result>.
|
LOOP AT lt_results ASSIGNING <ls_result> WHERE rstate <> zif_abapgit_definitions=>c_state-deleted.
|
||||||
li_progress->show( iv_current = sy-tabix
|
li_progress->show( iv_current = sy-tabix
|
||||||
iv_text = |Deserialize { <ls_result>-obj_name }| ).
|
iv_text = |Deserialize { <ls_result>-obj_name }| ).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user