From 10445c095279a21a4b2d8e04d0109664e9b74d87 Mon Sep 17 00:00:00 2001 From: kale Date: Tue, 27 Feb 2024 21:42:04 +0100 Subject: [PATCH] fix(lgi): Show author name when the commit is signed with a missing key --- config | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config b/config index 23b8b94..ed5b583 100644 --- a/config +++ b/config @@ -37,17 +37,17 @@ --format='%C(bold dim green)%h%C(auto) - %C(yellow)%cr %C(bold)→%C(reset) %s%C(reset bold yellow)%d %an %G? %GS %C(reset)' | \ sed \ -e 's#\\(.*\\) N .*#\\x1b[0;2;3m- \\1#' \ + -e 's#\\(.*\\) E .*#\\x1b[1;33mMissing Key: \\x1b[0;2;3m\\1#' \ \ -e 's#.* \\([^N]\\)#\\1#' \ - -e 's#\\(.*\\)#\\x1b[0;2;3m\\1#' \ \ - -e 's#G#\\x1b[0;1;32mGood Signature:#' \ - -e 's#B#\\x1b[1;31mBAD#' \ - -e 's#U#\\x1b[1;33mUnknown Trust: #' \ - -e 's#X#\\x1b[1;32mGood (expired since)#' \ - -e 's#Y#\\x1b[1;33mExpired Key#' \ - -e 's#R#\\x1b[1;31mRevoked#' \ - -e 's#E#\\x1b[1;33mMissing Key#'; \ + -e 's#G#\\x1b[0;1;32mGood:#' \ + -e 's#R#\\x1b[1;32mGood (revoked since):#' \ + -e 's#X#\\x1b[1;32mGood (expired since):#' \ + -e 's#U#\\x1b[1;33mUnknown Trust:#' \ + -e 's#Y#\\x1b[1;33mExpired Key:#' \ + -e 's#B#\\x1b[1;31mBAD:#' \ + -e 's#\\(.*\\)#\\x1b[0;2;3m\\1#'; \ }; f" # custom git log (always opens in pager)