From: Alexander Gavrilov Date: Sat, 6 Dec 2008 17:24:35 +0000 (+0300) Subject: git-gui: Fix commit encoding handling. X-Git-Tag: gitgui-0.12.0~10 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3ac31e4451ff7c77c7ecbd639e685995e6a8dcc7?ds=sidebyside;hp=3ac31e4451ff7c77c7ecbd639e685995e6a8dcc7 git-gui: Fix commit encoding handling. Commits without an encoding header are supposed to be encoded in utf8. While this apparently hasn't always been the case, currently it is the active convention, so it is better to follow it; otherwise people who have to use commitEncoding on their machines are unable to read utf-8 commits made by others. I also think that it is preferrable to display the warning about an unsupported value of commitEncoding more prominently, because this condition may lead to surprising behavior and, eventually, to loss of data. Signed-off-by: Alexander Gavrilov Signed-off-by: Shawn O. Pearce ---