anchor.diff:    ENDMETHOD.
   
   
  -  METHOD get_instance.
  -
  -    IF mo_instance IS NOT BOUND.
  -
  -      CREATE OBJECT mo_instance.
  -
  -    ENDIF.
  -
  -    ro_instance = mo_instance.
  +  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.
   
  
positive.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.
  
  
    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.
  
negative.code: CLASS zcl_abapgit_default_task IMPLEMENTATION.
  
  
    METHOD get_instance.
  
      IF mo_instance IS NOT BOUND.
  
        CREATE OBJECT mo_instance.
  
      ENDIF.
  
      ro_instance = mo_instance.
  
    ENDMETHOD.
  
  
    METHOD constructor.
  
      store_current_default_task( ).
  