Skip to content

fix: add update-ref to possible rebase commands#87

Merged
gbprod merged 2 commits intogbprod:mainfrom
m4rch3n1ng:update-ref
Apr 14, 2026
Merged

fix: add update-ref to possible rebase commands#87
gbprod merged 2 commits intogbprod:mainfrom
m4rch3n1ng:update-ref

Conversation

@m4rch3n1ng
Copy link
Copy Markdown
Contributor

when using git rebase --update-refs or setting the rebase.updateRefs gitconfig option, update-refs is one of the possible commands, that can show up in the Last commands done/Next commands to do part of the generated comments, which would previously cause this grammar to error out, so add it as a possible choice in the rebase_command node.

example (without this pr, using helix):
image

with this pr:
image

(ignore the extra coloring, helix injects a git-rebase grammar in there, which does that highlighting)

@gbprod
Copy link
Copy Markdown
Owner

gbprod commented Apr 14, 2026

Thanks !

@gbprod gbprod merged commit fae7e72 into gbprod:main Apr 14, 2026
3 checks passed
@m4rch3n1ng m4rch3n1ng deleted the update-ref branch April 14, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants