diff options
author | Soispha <soispha@vhack.eu> | 2023-06-25 19:56:36 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-06-25 19:56:36 +0200 |
commit | 9efd974414ea2c14b4af9204afb25b30f79b1a44 (patch) | |
tree | bef3bc1f5ca767791650434d65e7b32b12639c23 /home-manager | |
parent | Build(flake): Update (diff) | |
download | nixos-config-9efd974414ea2c14b4af9204afb25b30f79b1a44.tar.gz nixos-config-9efd974414ea2c14b4af9204afb25b30f79b1a44.zip |
Fix(hm/conf/git): Add info about gpg sigs to git log
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/git/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/home-manager/config/git/default.nix b/home-manager/config/git/default.nix index 1ff4350e..b9b39be1 100644 --- a/home-manager/config/git/default.nix +++ b/home-manager/config/git/default.nix @@ -12,7 +12,7 @@ in { rs = "restore --staged"; ## Logging: - ls = "log --max-count=10 --color --format=format:'%C(bold red)%h%C(reset) %C(dim bold blue)%s%C(reset) %C(dim white)[%aN]' "; + ls = "log --max-count=10 --color --format=format:'%C(bold red)%h%C(reset) %C(dim bold blue)%s%C(reset) %C(dim white)[%aN] %C(bold red)<%G?>%C(reset)'"; # https://stackoverflow.com/a/61487052 lg = "lg1"; @@ -21,7 +21,7 @@ in { lg3 = "lg3-specific --all"; lg1-specific = "log --graph --abbrev-commit --decorate \ - --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)'"; + --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold cyan) [%G?]%C(reset)%C(auto)%d%C(reset)'"; lg2-specific = "log --graph --abbrev-commit --decorate \ --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'"; @@ -29,8 +29,10 @@ in { lg3-specific = "log --graph --abbrev-commit --decorate \ --format=format:'%C(bold blue)%h%C(reset)\ - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)\ - %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n\ + %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)\ + %C(bold red)(signature: %G? by %GS, trust: %GT)%C(reset)%n\ '' %C(white)%s%C(reset)%n'' \ + %C(bold white)- trailers: %(trailers) %C(reset)\ %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'"; }; extraConfig = { |