anchor.diff:  *----------------------------------------------------------------------*
   FORM run.
   
  +  lcl_gui=>init( ).
  +
  +  WRITE: / '.'. " required
  +
  +ENDFORM.                    "run
  +
  +*&---------------------------------------------------------------------*
  +*&      Form  receive_test
  +*&---------------------------------------------------------------------*
  +*       text
  +*----------------------------------------------------------------------*
  +FORM receive_test.
  +
     DATA: lv_repo TYPE string VALUE '/larshp/Foobar'.                " 100%
   *  DATA: lv_repo TYPE string VALUE '/larshp/MouseChase'.            " 100%
   *  DATA: lv_repo TYPE string VALUE '/larshp/Dicing'.                " 100%
  -*  DATA: lv_repo TYPE string VALUE '/larshp/Datamatrix'.            " 100% password protected
  -*  DATA: lv_repo TYPE string VALUE '/snowplow/snowplow'.            " base not found, 10000 ref deltas, multiple parents
   *  DATA: lv_repo TYPE string VALUE '/rvanmil/ABAP-Regex-Training'.  " 100%
   *  DATA: lv_repo TYPE string VALUE '/sciruela/ABAP-Exercises'.      " 100%
   *  DATA: lv_repo TYPE string VALUE '/adsworth/ABAP-Utils'.          " 100%
   *  DATA: lv_repo TYPE string VALUE '/rvanmil/Run-ABAP-Code'.        " 100%
   *  DATA: lv_repo TYPE string VALUE '/rvanmil/ABAP-OOP-Library'.     " 100%
  -*  DATA: lv_repo TYPE string VALUE '/ivanfemia/abap2xlsx'.          " base not found, 2000 ref deltas, multiple parents
   *  DATA: lv_repo TYPE string VALUE '/InfoSize/abapsourcesearch'.    " 100%
   *  DATA: lv_repo TYPE string VALUE '/google/flatbuffers'.           " 100%
   *  DATA: lv_repo TYPE string VALUE '/antiboredom/videogrep'.        " 100%
   *  DATA: lv_repo TYPE string VALUE '/idank/explainshell'.           " 100%
  +*  DATA: lv_repo TYPE string VALUE '/mrmrs/colors'.                 " 100%
  +*  DATA: lv_repo TYPE string VALUE '/montagejs/collections'.        " 100%
  +
  +*  DATA: lv_repo TYPE string VALUE '/snowplow/snowplow'.            " base not found, 10000 ref deltas, multiple parents
  +*  DATA: lv_repo TYPE string VALUE '/ivanfemia/abap2xlsx'.          " base not found, 2000 ref deltas, multiple parents
   *  DATA: lv_repo TYPE string VALUE '/education/teachers_pet'.       " base not found, 694 ref deltas, multiple parents
   *  DATA: lv_repo TYPE string VALUE '/gmarik/Vundle.vim'.            " base not found, 829 ref deltas, multiple parents
   *  DATA: lv_repo TYPE string VALUE '/mephux/komanda'.               " base not found, 685 ref deltas, multiple parents
  -*  DATA: lv_repo TYPE string VALUE '/mrmrs/colors'.                 " 100%
  -*  DATA: lv_repo TYPE string VALUE '/montagejs/collections'.        " 100%
   
     DATA: lv_pack      TYPE xstring,
           lv_branch    TYPE t_sha1,
  
positive.code: 
    METHOD convert_int.
  
      CONSTANTS: lc_i TYPE i VALUE 1000.
  
      DATA: lv_xstring TYPE xstring,
            lv_i       TYPE i.
  
  
      lv_xstring = lcl_convert=>int_to_xstring( iv_i      = lc_i
                                                iv_length = 4 ).
      lv_i = lcl_convert=>xstring_to_int( lv_xstring ).
  
      cl_abap_unit_assert=>assert_equals(
          exp = lc_i
          act = lv_i ).
  
    ENDMETHOD.                    "convert_int
  
  
negative.code: *
  *----------------------------------------------------------------------*
  CLASS lcl_transport IMPLEMENTATION.
  
    METHOD set_headers.
  
      ii_client->request->set_header_field(
          name  = '~request_method'
          value = 'POST' ).
      ii_client->request->set_header_field(
          name  = '~request_uri'
          value = iv_repo && '/git-' && iv_service && '-pack' ).
      ii_client->request->set_header_field(
          name  = 'Content-Type'
          value = 'Content-Type: application/x-git-' && iv_service && '-pack-request' ). "#EC NOTEXT
  
    ENDMETHOD.                    "set_headers
  
    METHOD get_null.
  
  