anchor.diff:      DATA: lo_persistence TYPE REF TO lcl_persistence_repo.
   
   
  -    ASSERT iv_sha1 IS SUPPLIED OR it_checksums IS SUPPLIED.
  +    ASSERT iv_sha1 IS SUPPLIED
  +      OR it_checksums IS SUPPLIED
  +      OR iv_url IS SUPPLIED
  +      OR iv_branch_name IS SUPPLIED.
   
       CREATE OBJECT lo_persistence.
   
       IF iv_sha1 IS SUPPLIED.
  -      lo_persistence->update_sha1( iv_key         = ms_data-key
  -                                   iv_branch_sha1 = iv_sha1 ).
  +      lo_persistence->update_sha1(
  +        iv_key         = ms_data-key
  +        iv_branch_sha1 = iv_sha1 ).
         ms_data-sha1 = iv_sha1.
       ENDIF.
   
  
positive.code:       find_dot_abapgit
          RAISING lcx_exception,
        set
          IMPORTING iv_sha1      TYPE ty_sha1 OPTIONAL
                    it_checksums TYPE lcl_persistence_repo=>ty_local_checksum_tt OPTIONAL
          RAISING   lcx_exception.
  
  ENDCLASS.                    "lcl_repo DEFINITION
  
negative.code:         iv_key       = ms_data-key
          it_checksums = it_checksums ).
        ms_data-local_checksums = it_checksums.
      ENDIF.
  
      IF iv_url IS SUPPLIED.
        lo_persistence->update_url(
          iv_key = ms_data-key
          iv_url = iv_url ).
        ms_data-url = iv_url.
      ENDIF.
  
      IF iv_branch_name IS SUPPLIED.
        lo_persistence->update_branch_name(
          iv_key         = ms_data-key
          iv_branch_name = iv_branch_name ).
        ms_data-branch_name = iv_branch_name.
      ENDIF.
  
    ENDMETHOD.                    "set_sha1
  