diff options
author | Eric Engestrom <eric@engestrom.ch> | 2020-03-11 15:18:00 +0100 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-04-21 01:25:44 +0000 |
commit | 57e65cabd4f030f325fce2ef3e52af77792c4b66 (patch) | |
tree | ec731fdfc2b4f4e422e2b3f5d57cf6702d61427a /bin | |
parent | 32451a15ecb6b4bb42a2b77d5125eeb1163beea2 (diff) |
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 <eric@engestrom.ch>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4651>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/pick/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |