anchor.diff:    METHOD render_patch_head.
   
       io_html->add( |<th class="patch">| ).
  -    io_html->add_checkbox( iv_id = |patch_file_{ is_diff-filename }| ).
  +    io_html->add_checkbox( iv_id = |patch_file_{ get_patch_id( is_diff ) }| ).
       io_html->add( '</th>' ).
   
     ENDMETHOD.
  
positive.code:     IF mv_unified = abap_true.
        ro_html->add( '<th class="num">old</th>' ).           "#EC NOTEXT
        ro_html->add( '<th class="num">new</th>' ).           "#EC NOTEXT
        ro_html->add( '<th class="mark"></th>' ).           "#EC NOTEXT
        ro_html->add( '<th>code</th>' ).                      "#EC NOTEXT
      ELSE.
  
  
negative.code: 
      FIELD-SYMBOLS: <ls_diff_file> LIKE LINE OF mt_diff_files.
  
      LOOP AT mt_diff_files ASSIGNING <ls_diff_file>.
        IF get_patch_id( <ls_diff_file> ) = iv_filename.
          ro_diff = <ls_diff_file>-o_diff.
          EXIT.
        ENDIF.
      ENDLOOP.
  
      IF ro_diff IS NOT BOUND.
        zcx_abapgit_exception=>raise( |Invalid filename { iv_filename }| ).
      ENDIF.
  
    ENDMETHOD.
  
  