Merge pull request #1516 from FreHu/master

Fixed error message when committing without author name
This commit is contained in:
Lars Hvam 2018-06-18 15:23:47 +02:00 committed by GitHub
commit 838769d0bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ CLASS ZCL_ABAPGIT_SERVICES_GIT IMPLEMENTATION.
ELSEIF is_commit-committer_email IS INITIAL.
zcx_abapgit_exception=>raise( 'Commit: Committer email empty' ).
ELSEIF is_commit-author_email IS NOT INITIAL AND is_commit-author_name IS INITIAL.
zcx_abapgit_exception=>raise( 'Commit: Author email empty' ). " Opposite should be OK ?
zcx_abapgit_exception=>raise( 'Commit: Author name empty' ). " Opposite should be OK ?
ELSEIF is_commit-comment IS INITIAL.
zcx_abapgit_exception=>raise( 'Commit: empty comment' ).
ENDIF.