Git merge conflicts and encoding of logs
From: Junichi Uekawa <hidden>
Date: 2016-06-15 22:45:49
From: Junichi Uekawa <hidden>
Date: 2016-06-15 22:45:49
Hi, Git merge conflict will insert '<<< first line of commit log message' '===' '>>>' markers to the text file that is causing a conflict. Unfortunately, the encoding of the text file may be different from the log message encoding, and that results in a file which has a mixed encoding (which is pretty hard to edit from any editor BTW). My use case is editing platex files (iso-2022-jp encoded) with log messages of utf-8. http://git.debian.org/?p=tokyodebian/monthly-report.git;a=summary ... Thinking about it, it's probably the same encoding problem as git blame. Is there already a good way to fix this or is this something that needs fixing? regards, junichi -- dancer@{netfort.gr.jp,debian.org}