summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2019-11-13 17:47:49 +0100
committerAlan Pearce2019-11-13 17:47:49 +0100
commit4c15c88a7d11876b8b5a84f89790e7eae2abd083 (patch)
treea357cdb1ffc39d4f54473b1f5f85fa3ca459b83f /user/settings
parent10f9cb5818295fc8fdfe390da001abfa47a64788 (diff)
downloadnixfiles-4c15c88a7d11876b8b5a84f89790e7eae2abd083.tar.lz
nixfiles-4c15c88a7d11876b8b5a84f89790e7eae2abd083.tar.zst
nixfiles-4c15c88a7d11876b8b5a84f89790e7eae2abd083.zip
git: enable commit graphs (v2.23+)
Diffstat (limited to 'user/settings')
-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;
       };