mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Removed default for commit comment (#3513)
* Removed default for commit comment Closes https://github.com/larshp/abapGit/issues/3511 * Removed default for commit comment Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
50cff91259
commit
d006cd0658
|
@ -240,8 +240,6 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_SETTINGS IMPLEMENTATION.
|
|||
READ TABLE mt_post_fields ASSIGNING <ls_post_field> WITH KEY name = 'comment_default'.
|
||||
IF sy-subrc = 0.
|
||||
mo_settings->set_commitmsg_comment_default( <ls_post_field>-value ).
|
||||
ELSE.
|
||||
mo_settings->set_commitmsg_comment_default( zcl_abapgit_settings=>c_commitmsg_comment_default ).
|
||||
ENDIF.
|
||||
|
||||
READ TABLE mt_post_fields ASSIGNING <ls_post_field> WITH KEY name = 'body_size'.
|
||||
|
|
|
@ -2,7 +2,6 @@ CLASS zcl_abapgit_settings DEFINITION PUBLIC CREATE PUBLIC.
|
|||
|
||||
PUBLIC SECTION.
|
||||
CONSTANTS: c_commitmsg_comment_length_dft TYPE i VALUE 50.
|
||||
CONSTANTS: c_commitmsg_comment_default TYPE string VALUE 'Update $OBJECT'.
|
||||
CONSTANTS: c_commitmsg_body_size_dft TYPE i VALUE 72.
|
||||
|
||||
CONSTANTS:
|
||||
|
@ -316,7 +315,6 @@ CLASS ZCL_ABAPGIT_SETTINGS IMPLEMENTATION.
|
|||
set_adt_jump_enanbled( abap_true ).
|
||||
set_show_default_repo( abap_false ).
|
||||
set_commitmsg_comment_length( c_commitmsg_comment_length_dft ).
|
||||
set_commitmsg_comment_default( c_commitmsg_comment_default ).
|
||||
set_commitmsg_body_size( c_commitmsg_body_size_dft ).
|
||||
set_default_link_hint_key( ).
|
||||
set_icon_scaling( '' ).
|
||||
|
|
Loading…
Reference in New Issue
Block a user