From 09b90577a857b8997c0993c0b9c4775b4bcc2eec Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Tue, 9 Sep 2025 18:46:22 +0200 Subject: [PATCH] chore(jj): only make commits immutable if they are on master/main branch --- jjconfig.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jjconfig.toml b/jjconfig.toml index 626a5c2..f49a390 100644 --- a/jjconfig.toml +++ b/jjconfig.toml @@ -11,3 +11,6 @@ diff-format = "color-words" [git] push-new-bookmarks = true + +[revsets] +immutable = "main@origin | master@origin"