Module: Mesa Branch: master Commit: 57e65cabd4f030f325fce2ef3e52af77792c4b66 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57e65cabd4f030f325fce2ef3e52af77792c4b66
Author: Eric Engestrom <[email protected]> Date: Wed Mar 11 15:18:00 2020 +0100 pick-ui: show commit sha in the pick list Useful to get more context when a manual merge is needed, for instance. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4651> --- bin/pick/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pick/ui.py b/bin/pick/ui.py index d309c9db883..2d7b510703f 100644 --- a/bin/pick/ui.py +++ b/bin/pick/ui.py @@ -67,7 +67,7 @@ class CommitWidget(urwid.Text): _selectable = True def __init__(self, ui: 'UI', commit: 'core.Commit'): - super().__init__(commit.description) + super().__init__(f'{commit.sha[:10]} {commit.description}') self.ui = ui self.commit = commit _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
