Commit 509c7e177412

Vincent Demeester <vincent@sbr.pm>
2026-06-23 11:00:09
git: stop pruning tags globally
fetch.pruneTags=true causes tag churn (delete/re-fetch loop) in repos with multiple remotes that share tags. Revert to git's default (false).
1 parent e1e8104
Changed files (1)
home
common
shell
home/common/shell/git.nix
@@ -163,7 +163,9 @@ in
       # };
       fetch = {
         prune = true;
-        pruneTags = true;
+        # Keep git default (false): pruneTags=true causes tag churn in repos
+        # with multiple remotes sharing tags (one remote prunes, another re-adds).
+        pruneTags = false;
       };
       diff = {
         algorithm = "histogram";