anchor.diff:          RAISING lcx_exception,
         call_commit
           RAISING lcx_exception,
  -      remove_identical,
         render_local
           RETURNING VALUE(ro_html) TYPE REF TO lcl_html_helper,
         render_remote
  
positive.code: 
    METHOD refresh.
  
      CREATE OBJECT mo_stage.
      mt_local = mo_repo->get_files_local( ).
      mt_remote = mo_repo->get_files_remote( ).
      remove_identical( ).
  
    ENDMETHOD.
  
    METHOD remove_identical.
  
      DATA: lv_index  TYPE i,
            ls_remote LIKE LINE OF mt_remote.
  
      FIELD-SYMBOLS: <ls_local> LIKE LINE OF mt_local.
  
  
      LOOP AT mt_local ASSIGNING <ls_local>.
        lv_index = sy-tabix.
  
        READ TABLE mt_remote INTO ls_remote
          WITH KEY path = <ls_local>-path
          filename = <ls_local>-filename.
        IF sy-subrc = 0.
          DELETE mt_remote INDEX sy-tabix.
          IF ls_remote-data = <ls_local>-data.
            DELETE mt_local INDEX lv_index.
          ENDIF.
        ENDIF.
      ENDLOOP.
  
    ENDMETHOD.
  
  
negative.code: * See http://www.abapgit.org
  
  CONSTANTS: gc_xml_version  TYPE string VALUE 'v1.0.0',      "#EC NOTEXT
             gc_abap_version TYPE string VALUE 'v1.7.10'.     "#EC NOTEXT
  
  ********************************************************************************
  * The MIT License (MIT)
  