Fix checksums on pull with new objects (#6211)

Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com>
This commit is contained in:
Alexander Tsybulsky 2023-04-13 19:19:18 +03:00 committed by GitHub
parent 3a1403cece
commit 868cc653b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -188,7 +188,7 @@ ENDCLASS.
CLASS zcl_abapgit_repo IMPLEMENTATION.
CLASS ZCL_ABAPGIT_REPO IMPLEMENTATION.
METHOD bind_listener.
@ -761,9 +761,9 @@ CLASS zcl_abapgit_repo IMPLEMENTATION.
CHANGING
ct_files = lt_updated_files ).
zif_abapgit_repo~checksums( )->update( lt_updated_files ).
CLEAR mt_local. " Should be before CS update which uses NEW local
CLEAR: mt_local.
zif_abapgit_repo~checksums( )->update( lt_updated_files ).
update_last_deserialize( ).
reset_status( ).

View File

@ -239,7 +239,7 @@ CLASS lcl_update_calculator IMPLEMENTATION.
IF sy-subrc <> 0.
" The file should be in locals, however:
" if the deserialization fails, the local file might not be there
" in this case now new CS added, and the file will appear to be remote+new
" in this case no new CS added, and the file will appear to be remote+new
CONTINUE.
ENDIF.