issue 1232, better error message (#1290)

This commit is contained in:
Lars Hvam 2018-04-03 16:20:57 +02:00 committed by GitHub
parent 9a62b6e17a
commit 2067910d0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,6 +179,8 @@ CLASS ZCL_ABAPGIT_GIT_PORCELAIN IMPLEMENTATION.
IF iv_name CS ` `.
zcx_abapgit_exception=>raise( 'Branch name cannot contain blank spaces' ).
ELSEIF iv_from = ''.
zcx_abapgit_exception=>raise( 'New branch, "from" SHA1 empty' ).
ENDIF.
* "client MUST send an empty packfile"