anchor.diff:    ENDMETHOD.
   
   
  -  METHOD set.
  -
  -    " checks whether object changes of the package are rerorded in transport
  -    " requests. If true then we set the default task, so that no annoying
  -    " transport request popups are shown while deserializing.
  -
  -    DATA: lv_order TYPE trkorr,
  -          lv_task  TYPE trkorr.
  -
  -    IF mv_task_is_set_by_abapgit = abap_true.
  -      " the default transport request task is already set by us
  -      " -> no reason to do it again.
  -      RETURN.
  -    ENDIF.
  -
  -    IF are_objects_recorded_in_tr_req( iv_package ) = abap_false.
  -      " Objects of package are not recorded in transport request,
  -      " no need to proceed.
  -      RETURN.
  -    ENDIF.
  -
  -    call_transport_order_popup(
  -      IMPORTING
  -        ev_order = lv_order
  -        ev_task  = lv_task ).
  -
  -    set_default_task( iv_order = lv_order
  -                      iv_task  = lv_task ).
  -
  -    mv_task_is_set_by_abapgit = abap_true.
  -
  -  ENDMETHOD.
  -
  -
  -  METHOD store_current_default_task.
  -
  -    ms_save_default_task = get_default_task( ).
  -
  -  ENDMETHOD.
  -
  -
     METHOD get_default_task.
   
       DATA: lt_e070use TYPE STANDARD TABLE OF e070use.
  
positive.code: 
    ENDMETHOD.
  
  
    METHOD clear_default_task.
  
      CALL FUNCTION 'TR_TASK_RESET'
        EXPORTING
          iv_username      = is_default_task-username
          iv_order         = is_default_task-ordernum
          iv_task          = is_default_task-tasknum
          iv_dialog        = abap_false
        EXCEPTIONS
          invalid_username = 1
          invalid_order    = 2
          invalid_task     = 3
          OTHERS           = 4.
  
      IF sy-subrc <> 0.
        zcx_abapgit_exception=>raise( |Error from TR_TASK_RESET { sy-subrc }| ).
      ENDIF.
  
    ENDMETHOD.
  
  ENDCLASS.
  
negative.code:   ENDMETHOD.
  
  
    METHOD set.
  
      " checks whether object changes of the package are rerorded in transport
      " requests. If true then we set the default task, so that no annoying
      " transport request popups are shown while deserializing.
  
      DATA: lv_order TYPE trkorr,
            lv_task  TYPE trkorr.
  
      IF mv_task_is_set_by_abapgit = abap_true.
        " the default transport request task is already set by us
        " -> no reason to do it again.
        RETURN.
      ENDIF.
  
      IF are_objects_recorded_in_tr_req( iv_package ) = abap_false.
        " Objects of package are not recorded in transport request,
        " no need to proceed.
        RETURN.
      ENDIF.
  
      call_transport_order_popup(
        IMPORTING
          ev_order = lv_order
          ev_task  = lv_task ).
  
      set_default_task( iv_order = lv_order
                        iv_task  = lv_task ).
  
      mv_task_is_set_by_abapgit = abap_true.
  
    ENDMETHOD.
  
  