summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/git.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix
index 18a40644..fc17235b 100644
--- a/user/settings/git.nix
+++ b/user/settings/git.nix
@@ -9,6 +9,15 @@
     userName = "Alan Pearce";
     userEmail = "alan@alanpearce.eu";
     extraConfig = {
+      core = {
+        commitGraph = true;
+      };
+      gc = {
+        writeCommitGraph = true;
+      };
+      fetch = {
+        writeCommitGraph = true;
+      };
       pull = {
         rebase = true;
       };