{"thread":{"id":"16241","subject":"[PATCH (GIT-GUI)] git-gui: Request blame metadata in utf-8.","startedAt":"2008-11-09T15:53:09Z","lastAt":"2008-11-11T17:35:49Z","messageCount":2,"participants":["Alexander Gavrilov","Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"95266","messageId":"200811091853.09498.angavrilov@gmail.com","threadId":"16241","inReplyTo":null,"subject":"[PATCH (GIT-GUI)] git-gui: Request blame metadata in utf-8.","fromName":"Alexander Gavrilov","fromEmail":"angavrilov@gmail.com","sentAt":"2008-11-09T15:53:09Z","receivedAt":"2008-11-09T15:53:09Z","isPatch":true,"sender":{"key":"angavrilov@gmail.com","avatar":"https://avatars.githubusercontent.com/u/42666?v=4"},"body":"The blame builtin now supports automatic conversion of\nmetadata encoding. By default it is converted to the\ncharacter set specified by i18n.logoutputencoding.\n\nSince gui blame expects the data in utf-8, it is\nnecessary to specify the desired encoding directly.\nAn old version of the blame command will simply\nignore the option.\n\nSigned-off-by: Alexander Gavrilov <angavrilov@gmail.com>\n---\n lib/blame.tcl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/lib/blame.tcl b/lib/blame.tcl\nindex 8d60f12..4875804 100644\n--- a/lib/blame.tcl\n+++ b/lib/blame.tcl\n@@ -559,7 +559,7 @@ method _read_file {fd jump} {\n } ifdeleted { catch {close $fd} }\n \n method _exec_blame {cur_w cur_d options cur_s} {\n-\tlappend options --incremental\n+\tlappend options --incremental --encoding=utf-8\n \tif {$commit eq {}} {\n \t\tlappend options --contents $path\n \t} else {\n-- \n1.6.0.3.15.gb8d36\n"},{"id":"95473","messageId":"20081111173549.GL2932@spearce.org","threadId":"16241","inReplyTo":"200811091853.09498.angavrilov@gmail.com","subject":"Re: [PATCH (GIT-GUI)] git-gui: Request blame metadata in utf-8.","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-11-11T17:35:49Z","receivedAt":"2008-11-11T17:35:49Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Alexander Gavrilov <angavrilov@gmail.com> wrote:\n> The blame builtin now supports automatic conversion of\n> metadata encoding. By default it is converted to the\n> character set specified by i18n.logoutputencoding.\n> \n> Since gui blame expects the data in utf-8, it is\n> necessary to specify the desired encoding directly.\n> An old version of the blame command will simply\n> ignore the option.\n\nThanks; all 3 applied.\n \n-- \nShawn.\n"}]}