Merge pull request #368 from Sirius-A/fix-branch-overview-username

fix(branch overview): allow email as author
This commit is contained in:
Lars Hvam 2016-10-01 11:31:47 +02:00 committed by GitHub
commit 32d785ebaa

View File

@ -193,7 +193,7 @@ CLASS lcl_branch_overview IMPLEMENTATION.
SPLIT ls_raw-body AT gc_newline INTO ls_commit-message lv_trash. 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, * 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 SUBMATCHES
ls_commit-author ls_commit-author
ls_commit-email ls_commit-email
@ -590,4 +590,4 @@ CLASS lcl_gui_page_branch_overview IMPLEMENTATION.
ENDMETHOD. ENDMETHOD.
ENDCLASS. ENDCLASS.