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 when core.editor is set to notepad but format.commitMessageColumns not set #430

Closed
bdukes opened this issue Sep 22, 2015 · 1 comment
Assignees

Comments

@bdukes
Copy link

bdukes commented Sep 22, 2015

I had been using notepad as my editor without any problem, but after upgrading to 2.5.3, I get an error after saving a commit message:

fmt: invalid width: ''
error: There was a problem with the editor 'notepad'.
Please supply the message using either -m or -F option.

Calling git config --global format.commitMessageColumns 80 caused the error to go away

@dscho
Copy link
Member

dscho commented Sep 22, 2015

Oops. Thanks for the report!

@dscho dscho self-assigned this Sep 22, 2015
jeffhostetler pushed a commit to jeffhostetler/git that referenced this issue Sep 30, 2021
Sparse index: integrate with `clean` and `stash -u`
mjcheetham pushed a commit to mjcheetham/git that referenced this issue Jul 23, 2024
Sparse index: integrate with `clean` and `stash -u`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants