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

Disable error message from :Cancel on git commit #98

Open
atusy opened this issue Aug 4, 2023 · 0 comments
Open

Disable error message from :Cancel on git commit #98

atusy opened this issue Aug 4, 2023 · 0 comments
Labels
command Something for commands enhancement New feature or request help wanted Extra attention is needed

Comments

@atusy
Copy link
Contributor

atusy commented Aug 4, 2023

Currently, :Cancel followed by :Gin commit shows following error message.

image

As long as users intentionally exec :Cancel, they do not need the above message, IMO.

At the same time, I understand this is compatible with doing :cq when vim opens with git commit.

> GIT_EDITOR="vim -u NORC -c 'cq'" git commit --allow-empty
hint: Waiting for your editor to close the file... error: There was a problem with the editor 'vim -u NORC -c 'cq''.
Please supply the message using either -m or -F option.
@lambdalisue lambdalisue added enhancement New feature or request help wanted Extra attention is needed command Something for commands labels Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command Something for commands enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants