jj: Make private commit matching case insensitive

Whether you prefix your commit with 'WIP:' or 'wip:',
'private:' or 'PRIVATE:' it will be caught.
This commit is contained in:
Marty Oehme 2025-02-21 17:01:16 +01:00
parent 86306afc08
commit 612b92d148
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -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"]