summaryrefslogtreecommitdiff
path: root/home/git
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-10-12 18:10:33 +0200
committerLinnnus <[email protected]>2024-10-12 19:21:53 +0200
commit3c70da63a972c20b07f18679858c1a51b80d6e68 (patch)
treecadb619eb1d1cd5231b565963b348c860bdf294e /home/git
parentbed6dc59146ad2bd30913687d407aba9041c1327 (diff)
home/git: Always ignore .git-blame-ignore-revs when running git-blame
Diffstat (limited to 'home/git')
-rw-r--r--home/git/default.nix5
1 files changed, 5 insertions, 0 deletions
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";