pick-ui: show nomination type in the UI

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12289>
This commit is contained in:
Eric Engestrom 2021-08-09 21:23:08 +01:00 committed by Marge Bot
parent db14f2a932
commit 7ec42b5eda
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ class CommitWidget(urwid.Text):
_selectable = True
def __init__(self, ui: 'UI', commit: 'core.Commit'):
super().__init__(f'{commit.sha[:10]} {commit.description}')
reason = commit.nomination_type.name.ljust(6)
super().__init__(f'{reason} {commit.sha[:10]} {commit.description}')
self.ui = ui
self.commit = commit