fix(lgi): Show author name when the commit is signed with a missing key
This commit is contained in:
parent
9264ed5aed
commit
10445c0952
14
config
14
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>%an</an> <sig>%G?</sig> <sn>%GS</sn> %C(reset)' | \
|
||||
sed \
|
||||
-e 's#<an>\\(.*\\)</an> <sig>N</sig> <sn>.*</sn>#\\x1b[0;2;3m- \\1#' \
|
||||
-e 's#<an>\\(.*\\)</an> <sig>E</sig> <sn>.*</sn>#\\x1b[1;33mMissing Key: \\x1b[0;2;3m\\1#' \
|
||||
\
|
||||
-e 's#<an>.*</an> <sig>\\([^N]\\)</sig>#<sig>\\1</sig>#' \
|
||||
-e 's#<sn>\\(.*\\)</sn>#\\x1b[0;2;3m\\1#' \
|
||||
\
|
||||
-e 's#<sig>G</sig>#\\x1b[0;1;32mGood Signature:#' \
|
||||
-e 's#<sig>B</sig>#\\x1b[1;31mBAD#' \
|
||||
-e 's#<sig>G</sig>#\\x1b[0;1;32mGood:#' \
|
||||
-e 's#<sig>R</sig>#\\x1b[1;32mGood (revoked since):#' \
|
||||
-e 's#<sig>X</sig>#\\x1b[1;32mGood (expired since):#' \
|
||||
-e 's#<sig>U</sig>#\\x1b[1;33mUnknown Trust:#' \
|
||||
-e 's#<sig>X</sig>#\\x1b[1;32mGood (expired since)#' \
|
||||
-e 's#<sig>Y</sig>#\\x1b[1;33mExpired Key#' \
|
||||
-e 's#<sig>R</sig>#\\x1b[1;31mRevoked#' \
|
||||
-e 's#<sig>E</sig>#\\x1b[1;33mMissing Key#'; \
|
||||
-e 's#<sig>Y</sig>#\\x1b[1;33mExpired Key:#' \
|
||||
-e 's#<sig>B</sig>#\\x1b[1;31mBAD:#' \
|
||||
-e 's#<sn>\\(.*\\)</sn>#\\x1b[0;2;3m\\1#'; \
|
||||
}; f"
|
||||
|
||||
# custom git log (always opens in pager)
|
||||
|
|
Loading…
Reference in a new issue