Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: A little mystery - crash caused by empty commit message.

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:46:08

Jeff King schrieb:
It _is_ generally hard to get an empty commit message using "git
commit". But it's possible there is a bug in cherry-pick, rebase, or
some ohter low-level tool that accidentally erased your message
as the commit was moved.
Since this is on Windows, chances are that this is an encoding issue. If
you have non-ASCII in the commit message, but i18n.commitEncoding is
unset, then you can introduce invalid UTF8 sequences easily. This could
confuse one of the pipelines (rebase, am, cherry-pick, etc).

You should set

	git config i18n.commitencoding cp1252

(or whatever is appropriate for you locale). I even have

	git config i18n.logoutputencoding cp850

so that I see correct umlauts if I happen to run git log without a pager
in CMD ;) (I rarely do that, though.)

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help