rules(jj): add rules (github #30)

Co-authored-by: iff <iff@ik.me>
This commit is contained in:
Jakob Hellermann 2025-01-18 16:11:27 +01:00 committed by GitHub
parent afa6ef302d
commit 5d4da9b9df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
rules/jj.toml Normal file
View file

@ -0,0 +1,28 @@
command = "jj"
[[match_err]]
pattern = [
"pass `--ignore-immutable`"
]
suggest = [
'''
{{command}} --ignore-immutable'''
]
[[match_err]]
pattern = [
"use --allow-new to push new bookmark"
]
suggest = [
'''
{{command}} --allow-new'''
]
[[match_err]]
pattern = [
"no bookmarks found in the default push revset"
]
suggest = [
'''
{{command}} --change @'''
]