Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error detected while processing modelines (regression since "Use callback based workflow for status buffer") #2334

Closed
liskin opened this issue Sep 2, 2024 · 2 comments

Comments

@liskin
Copy link

liskin commented Sep 2, 2024

It seems vim's trying to execute modelines in commit messages since 8c8cdf4:

$ mkdir git1
$ git -C git1 init
$ git -C git1 commit --allow-empty 'initial'
$ git clone ./git1 ./git2 # make a clone so we get to see the "Unpushed to origin/main" section
$ git -C git2 commit --allow-empty -m 'vim: Update'
$ cd git2
$ vim -c Git

Error detected while processing modelines:
line    6:
E518: Unknown option: Update
@tpope
Copy link
Owner

tpope commented Sep 2, 2024

Fixed in #2335.

@tpope tpope closed this as completed Sep 2, 2024
@liskin
Copy link
Author

liskin commented Sep 2, 2024

Oh, indeed, and apologies for missing the existing report. Must've been tired, or… something :-/

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

No branches or pull requests

2 participants