mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Merge pull request #607 from EduardoCopat/blankspace-branchname
Validate blank spaces in branch names
This commit is contained in:
commit
982f0aec12
|
@ -1255,6 +1255,9 @@ CLASS lcl_git_porcelain IMPLEMENTATION.
|
|||
DATA: lt_objects TYPE ty_objects_tt,
|
||||
lv_pack TYPE xstring.
|
||||
|
||||
IF iv_name CS ' '.
|
||||
lcx_exception=>raise( 'Branch name cannot contain blank spaces' ).
|
||||
ENDIF.
|
||||
|
||||
* "client MUST send an empty packfile"
|
||||
* https://github.com/git/git/blob/master/Documentation/technical/pack-protocol.txt#L514
|
||||
|
|
Loading…
Reference in New Issue
Block a user