From 256a3cd2deddba290ac46c18ef2ebe9a5515fd3c Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Sun, 25 Mar 2018 08:28:51 +0200 Subject: [PATCH] fix for AWS CodeCommit (#1266) * fix for AWS CodeCommit * and also fix push --- src/git/zcl_abapgit_git_transport.clas.abap | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/git/zcl_abapgit_git_transport.clas.abap b/src/git/zcl_abapgit_git_transport.clas.abap index 4f6caa90a..967c02a12 100644 --- a/src/git/zcl_abapgit_git_transport.clas.abap +++ b/src/git/zcl_abapgit_git_transport.clas.abap @@ -176,7 +176,7 @@ CLASS ZCL_ABAPGIT_GIT_TRANSPORT IMPLEMENTATION. iv_url = iv_url iv_service = c_service-receive ). - lv_cap_list = 'report-status agent=' && zcl_abapgit_http=>get_agent( ) ##NO_TEXT. + lv_cap_list = 'report-status' ##NO_TEXT. lv_line = iv_old && ` ` && @@ -246,8 +246,7 @@ CLASS ZCL_ABAPGIT_GIT_TRANSPORT IMPLEMENTATION. LOOP AT lt_branches FROM 1 ASSIGNING . IF sy-tabix = 1. - lv_capa = 'side-band-64k no-progress multi_ack agent=' - && zcl_abapgit_http=>get_agent( ) ##NO_TEXT. + lv_capa = 'side-band-64k no-progress multi_ack' ##NO_TEXT. lv_line = 'want' && ` ` && -sha1 && ` ` && lv_capa && zif_abapgit_definitions=>gc_newline. "#EC NOTEXT ELSE.