summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2021-08-09 21:23:08 +0100
committerMarge Bot <eric+marge@anholt.net>2021-08-10 21:36:43 +0000
commit7ec42b5edafcce3f160e6c564bfc5ac616d82ad7 (patch)
treec885f9d1d5b201f7e03ff73909b512d4e9b1307c /bin
parentdb14f2a9326a3dfefd2abbf937641f7ab92024a2 (diff)
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>
Diffstat (limited to 'bin')
-rw-r--r--bin/pick/ui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/pick/ui.py b/bin/pick/ui.py
index babb71cdc0d..b9a1c44db67 100644
--- a/bin/pick/ui.py
+++ b/bin/pick/ui.py
@@ -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