anchor.diff:      ENDLOOP.
   
     ENDMETHOD.
  -
  -  METHOD get_files_remote.
  -    initialize( ).
  -
  -    rt_files = mt_files_remote.
  -  ENDMETHOD.                    "get_files
  -
  -  METHOD get_objects.
  -    initialize( ).
  -
  -    rt_objects = mt_objects.
  -  ENDMETHOD.                    "get_objects
  -
  -  METHOD get_url.
  -    rv_url = ms_data-url.
  -  ENDMETHOD.                    "get_url
  -
  -  METHOD get_branch_name.
  -    rv_name = ms_data-branch_name.
  -  ENDMETHOD.                    "get_branch_name
  -
  -  METHOD get_sha1_local.
  -    rv_sha1 = ms_data-sha1.
  -  ENDMETHOD.                    "get_sha1_local
  -
  -  METHOD push.
  -
  -    DATA: lv_branch TYPE ty_sha1.
  -
  -
  -    lv_branch = lcl_git_porcelain=>push( is_comment = is_comment
  -                                         io_repo    = me
  -                                         it_files   = it_files ).
  -
  -    set_sha1( lv_branch ).
  -
  -    refresh( ).
  -
  -  ENDMETHOD.                    "push
  -
  -  METHOD set_sha1.
  -
  -    DATA: lo_persistence TYPE REF TO lcl_persistence_repo.
  -
  -
  -    CREATE OBJECT lo_persistence.
  -
  -    lo_persistence->update( iv_key         = ms_data-key
  -                            iv_branch_sha1 = iv_sha1 ).
  -
  -    ms_data-sha1 = iv_sha1.
  -
  -  ENDMETHOD.                    "set_sha1
  -
  -ENDCLASS.                    "lcl_repo_online IMPLEMENTATION
  -
  -*----------------------------------------------------------------------*
  -*       CLASS lcl_repo IMPLEMENTATION
  -*----------------------------------------------------------------------*
  -*
  -*----------------------------------------------------------------------*
  -CLASS lcl_repo IMPLEMENTATION.
  -
  -  METHOD constructor.
  -
  -    ASSERT NOT is_data-key IS INITIAL.
  -
  -    ms_data = is_data.
  -
  -  ENDMETHOD.                    "constructor
   
     METHOD delete.
   
  
positive.code: 
      DATA:
        lt_nodes TYPE lcl_git_pack=>ty_nodes_tt,
        lt_files LIKE it_files,
        lv_sha1  TYPE ty_sha1,
        lv_index TYPE i.
  
      FIELD-SYMBOLS: <ls_file> LIKE LINE OF it_files,
                     <ls_node> LIKE LINE OF lt_nodes.
  
  
      lt_nodes = root_tree( it_objects = io_repo->get_objects( )
                            iv_branch  = io_repo->get_sha1_remote( ) ).
  
      lt_files[] = it_files[].
  
      LOOP AT lt_files ASSIGNING <ls_file>.
        lv_index = sy-tabix.
  
negative.code:       ls_item-obj_name = <ls_result>-obj_name.
  
        lt_files = lcl_objects=>serialize( ls_item ).
        LOOP AT lt_files ASSIGNING <ls_file>.
          lo_stage->add( <ls_file> ).
  *      APPEND LINES OF lt_files TO lt_push.
        ENDLOOP.
      ENDLOOP.
  
      IF lo_stage->count( ) = 0.
        _raise 'no changes'.
      ENDIF.
  
  