mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
fix(branch overview): allow email as username
The branch overview screen crashes if there is a commit with an email address as username in the commit history. This change fixes that.
This commit is contained in:
parent
7f3a665756
commit
a99c8dd7cc
|
@ -193,7 +193,7 @@ CLASS lcl_branch_overview IMPLEMENTATION.
|
|||
SPLIT ls_raw-body AT gc_newline INTO ls_commit-message lv_trash.
|
||||
|
||||
* unix time stamps are in same time zone, so ignore the zone,
|
||||
FIND REGEX '^([\w\s]+) <(.*)> (\d{10}) .\d{4}$' IN ls_raw-author
|
||||
FIND REGEX '^([\w\s\.@]+) <(.*)> (\d{10}) .\d{4}$' IN ls_raw-author
|
||||
SUBMATCHES
|
||||
ls_commit-author
|
||||
ls_commit-email
|
||||
|
@ -590,4 +590,4 @@ CLASS lcl_gui_page_branch_overview IMPLEMENTATION.
|
|||
|
||||
ENDMETHOD.
|
||||
|
||||
ENDCLASS.
|
||||
ENDCLASS.
|
||||
|
|
Loading…
Reference in New Issue
Block a user