mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Page branch overview: skip orphaned commits
This commit is contained in:
parent
e0c0610bad
commit
20be1e7eef
|
@ -120,12 +120,16 @@ CLASS zcl_abapgit_gui_page_boverview IMPLEMENTATION.
|
|||
LOOP AT mt_commits ASSIGNING <ls_commit>.
|
||||
|
||||
IF sy-tabix = 1.
|
||||
* assumption: all branches are created from master, todo
|
||||
" assumption: all branches are created from master, todo
|
||||
ro_html->add( |var {
|
||||
escape_branch( <ls_commit>-branch ) } = gitgraph.branch("{
|
||||
<ls_commit>-branch }");| ).
|
||||
ENDIF.
|
||||
|
||||
IF <ls_commit>-branch IS INITIAL.
|
||||
CONTINUE. " we skip orphaned commits
|
||||
ENDIF.
|
||||
|
||||
IF <ls_commit>-compressed = abap_true.
|
||||
ro_html->add( |{ escape_branch( <ls_commit>-branch ) }.commit(\{message: "{
|
||||
escape_message( <ls_commit>-message )
|
||||
|
|
Loading…
Reference in New Issue
Block a user