Checks:
(Sorry, I created the issue with Reference in new issue in Code view, so I crafted this section manually.)
- There's no existing/similar bug report (I've searched for
kate in issues).
- This report is about a single actionable bug.
- This report is about the ProGit book, version 2, English language.
- Bug covers both book website and pdf
- Problem is present in the Pro Git book on the website - YES
- Which version of the book is affected? - Source files, at this very line
Steps to reproduce:
- Execute
git config --global core.editor "kate" as written in Appendix C, core editor configuration commands
- Execute
git commit. At this moment Kate is started, but git doesn't wait for Kate exiting, immediately complain with error Aborting commit due to empty commit message.
Solution:
Use git config --global core.editor "kate --block" instead. Now git says hint: Waiting for your editor to close the file... and everything is working as expected.
Additional info:
The same problem and the same solution proposed on LinuxQuestions.org.