git lgi: remove padding after date

This commit is contained in:
kalmenn 2024-01-16 02:00:54 +01:00
parent 26c869b714
commit 5768c236c5
Signed by: kalmenn
GPG key ID: F500055C44BC3834

2
config
View file

@ -35,7 +35,7 @@
# sed part courtesy of: https://stackoverflow.com/questions/17371955/verifying-signed-git-commits/32038784#comment124980964_32038784 # sed part courtesy of: https://stackoverflow.com/questions/17371955/verifying-signed-git-commits/32038784#comment124980964_32038784
lgi = "!f() { \ lgi = "!f() { \
git log --graph --branches --all --date=human --color $@ \ git log --graph --branches --all --date=human --color $@ \
--format='%C(bold dim green)%h%C(auto) - %C(yellow)%<(12)%cr %C(bold)→%C(reset) %s%C(bold black) - %an%C(reset bold yellow)%d %C(reset)<sig>%G?</sig>%C(reset dim white)%GS%C(reset)' | \ --format='%C(bold dim green)%h%C(auto) - %C(yellow)%cr %C(bold)→%C(reset) %s%C(bold black) - %an%C(reset bold yellow)%d %C(reset)<sig>%G?</sig>%C(reset dim white)%GS%C(reset)' | \
sed \ sed \
-e 's#<sig>G</sig>#\\x1b[1;32mGood Signature: #' \ -e 's#<sig>G</sig>#\\x1b[1;32mGood Signature: #' \
-e 's#<sig>B</sig>#\\x1b[1;31mBAD#' \ -e 's#<sig>B</sig>#\\x1b[1;31mBAD#' \