From 612b92d1483445a5500e905bdf62c6791de10cd2 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 21 Feb 2025 17:01:16 +0100 Subject: [PATCH] jj: Make private commit matching case insensitive Whether you prefix your commit with 'WIP:' or 'wip:', 'private:' or 'PRIVATE:' it will be caught. --- vcs/jj/config/jj/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcs/jj/config/jj/config.toml b/vcs/jj/config/jj/config.toml index 174fd04..db6f968 100644 --- a/vcs/jj/config/jj/config.toml +++ b/vcs/jj/config/jj/config.toml @@ -9,7 +9,7 @@ key = "73BA40D5AFAF49C9" [git] sign-on-push = true subprocess = true -private-commits = "description(glob:'wip:*') | description(glob:'private:*')" # refuse to push WIP commits +private-commits = "description(glob-i:'WIP:*') | description(glob-i:'PRIVATE:*')" # refuse to push WIP commits [ui] diff-editor = ["nvim", "-c", "DiffEditor $left $right $output"]