anchor.diff:          WITH KEY path = <ls_file>-path name = <ls_file>-name.
   
         ro_html->add( '<tr>' ).
  -      _show_file ls_merge-stree.
  -      _show_file ls_merge-ttree.
  -      _show_file ls_merge-ctree.
  -      _show_file ls_merge-result.
  +      show_file( it_expanded = ls_merge-stree
  +                 io_html     = ro_html
  +                 is_file     = <ls_file>
  +                 is_result   = ls_result ).
  +      show_file( it_expanded = ls_merge-ttree
  +                 io_html     = ro_html
  +                 is_file     = <ls_file>
  +                 is_result   = ls_result ).
  +      show_file( it_expanded = ls_merge-ctree
  +                 io_html     = ro_html
  +                 is_file     = <ls_file>
  +                 is_result   = ls_result ).
  +      show_file( it_expanded = ls_merge-result
  +                 io_html     = ro_html
  +                 is_file     = <ls_file>
  +                 is_result   = ls_result ).
         ro_html->add( '</tr>' ).
       ENDLOOP.
       ro_html->add( '</table>' ).
  
positive.code:         zcx_abapgit_exception .
  
      METHODS zif_abapgit_gui_event_handler~on_event
           REDEFINITION.
    PROTECTED SECTION.
      METHODS render_content REDEFINITION.
  
  
negative.code:     ro_html->add( ls_merge-conflict ).
      ro_html->add( '</b>' ).
      ro_html->add( '</div>' ).
  
    ENDMETHOD.
  
  
    METHOD show_file.
  
      FIELD-SYMBOLS: <ls_show> LIKE LINE OF it_expanded.
  
  
      READ TABLE it_expanded ASSIGNING <ls_show>
          WITH KEY
          path = is_file-path
          name = is_file-name.
      IF sy-subrc = 0.
        IF <ls_show>-sha1 = is_result-sha1.
          io_html->add( |<td>{
            <ls_show>-path }{ <ls_show>-name }</td><td><b>{
            <ls_show>-sha1(7) }</b></td>| ).
        ELSE.
          io_html->add( |<td>{ <ls_show>-path }{ <ls_show>-name }</td><td>{ <ls_show>-sha1(7) }</td>| ).
        ENDIF.
      ELSE.
        io_html->add( '<td></td><td></td>' ).
      ENDIF.
  
    ENDMETHOD.
  
  