From: Johannes Sixt Date: Tue, 10 Feb 2009 11:46:38 GMT Subject: Re: A little mystery - crash caused by empty commit message. Message-ID: <4991691E.6010808@viscovery.net> In-Reply-To: <20090210113234.GE12089@coredump.intra.peff.net> 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