ignore grand reformat in git blame

pull/58/head
Tudor Roman 2024-01-28 15:55:20 +01:00
parent 3237085311
commit e0cdc980a6
Signed by: tudor
SSH Key Fingerprint: SHA256:3CwS9plgXBecpXImPGxDIaSktUXBejbV/zerZMqzzBk
2 changed files with 8 additions and 1 deletions

2
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,2 @@
# https://stackoverflow.com/a/69118451
323708531114b1c15614e3769fbbf63bd1a8dc1c

View File

@ -192,7 +192,12 @@
packages.deploy-rs = deployPkgs.${system}.deploy-rs.deploy-rs;
devShells.default = pkgs.mkShell {
inherit (self'.checks.pre-commit-check) shellHook;
shellHook =
self'.checks.pre-commit-check.shellHook
+ ''
/usr/bin/env git config blame.ignoreRevsFile .git-blame-ignore-revs
'';
buildInputs = with pkgs; [
nix