From 3c70da63a972c20b07f18679858c1a51b80d6e68 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 12 Oct 2024 18:10:33 +0200 Subject: home/git: Always ignore .git-blame-ignore-revs when running git-blame --- home/git/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'home/git') diff --git a/home/git/default.nix b/home/git/default.nix index a1f89bf..a761484 100644 --- a/home/git/default.nix +++ b/home/git/default.nix @@ -24,6 +24,11 @@ in { # See: https://git-scm.com/book/en/v2/Git-Tools-Submodules push.recurseSubmodules = "check"; + # It seems like a de facto standard to have a file with this name in the + # project root containing all the commits that should be ignored when + # running `git blame`. + blame.ignoreRevsFile = ".git-blame-ignore-revs"; + credential = { "https://github.com/" = { username = "linnnus"; -- cgit v1.2.3