{"thread":{"id":"21303","subject":"[PATCH 1/2] Remove a left-over file from t/t5100","startedAt":"2009-10-21T11:35:15Z","lastAt":"2009-10-21T11:35:16Z","messageCount":2,"participants":["Johannes Sixt"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"125587","messageId":"1256124916-26486-1-git-send-email-j6t@kdbg.org","threadId":"21303","inReplyTo":null,"subject":"[PATCH 1/2] Remove a left-over file from t/t5100","fromName":"Johannes Sixt","fromEmail":"j6t@kdbg.org","sentAt":"2009-10-21T11:35:15Z","receivedAt":"2009-10-21T11:35:15Z","isPatch":true,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"This mbox file must have been added by accident in e9fe804 (git-mailinfo:\nFix getting the subject from the in-body [PATCH] line, 2008-07-14).\n\nSigned-off-by: Johannes Sixt <j6t@kdbg.org>\n---\n I noticed this while I was looking at the effects of the next patch.\n\n t/t5100/0010 |   35 -----------------------------------\n 1 files changed, 0 insertions(+), 35 deletions(-)\n delete mode 100644 t/t5100/0010\n\ndiff --git a/t/t5100/0010 b/t/t5100/0010\ndeleted file mode 100644\nindex f5892c9..0000000\n--- a/t/t5100/0010\n+++ /dev/null\n@@ -1,35 +0,0 @@\n-From b9704a518e21158433baa2cc2d591fea687967f6 Mon Sep 17 00:00:00 2001\n-From: =?UTF-8?q?Lukas=20Sandstr=C3=B6m?= <lukass@etek.chalmers.se>\n-Date: Thu, 10 Jul 2008 23:41:33 +0200\n-Subject: Re: discussion that lead to this patch\n-MIME-Version: 1.0\n-Content-Type: text/plain; charset=UTF-8\n-Content-Transfer-Encoding: 8bit\n-\n-[PATCH] git-mailinfo: Fix getting the subject from the body\n-\n-\"Subject: \" isn't in the static array \"header\", and thus\n-memcmp(\"Subject: \", header[i], 7) will never match.\n-\n-Signed-off-by: Lukas SandstrÃ¶m <lukass@etek.chalmers.se>\n-Signed-off-by: Junio C Hamano <gitster@pobox.com>\n----\n- builtin-mailinfo.c |    2 +-\n- 1 files changed, 1 insertions(+), 1 deletions(-)\n-\n-diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c\n-index 962aa34..2d1520f 100644\n---- a/builtin-mailinfo.c\n-+++ b/builtin-mailinfo.c\n-@@ -334,7 +334,7 @@ static int check_header(char *line, unsigned linesize, char **hdr_data, int over\n- \t\treturn 1;\n- \tif (!memcmp(\"[PATCH]\", line, 7) && isspace(line[7])) {\n- \t\tfor (i = 0; header[i]; i++) {\n--\t\t\tif (!memcmp(\"Subject: \", header[i], 9)) {\n-+\t\t\tif (!memcmp(\"Subject\", header[i], 7)) {\n- \t\t\t\tif (! handle_header(line, hdr_data[i], 0)) {\n- \t\t\t\t\treturn 1;\n- \t\t\t\t}\n--- \n-1.5.6.2.455.g1efb2\n-\n-- \n1.6.5.1028.g985e.dirty\n"},{"id":"125588","messageId":"1256124916-26486-2-git-send-email-j6t@kdbg.org","threadId":"21303","inReplyTo":"1256124916-26486-1-git-send-email-j6t@kdbg.org","subject":"[PATCH 2/2] Mark files in t/t5100 as UTF-8","fromName":"Johannes Sixt","fromEmail":"j6t@kdbg.org","sentAt":"2009-10-21T11:35:16Z","receivedAt":"2009-10-21T11:35:16Z","isPatch":true,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"This enables gitk to show the patch text with correct glyphs if the locale\nis not UTF-8.\n\nSigned-off-by: Johannes Sixt <j6t@kdbg.org>\n---\n This is particularly interesting for users on Windows, because we\n do not have a usable UTF-8 locale.\n\n t/t5100/.gitattributes |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)\n create mode 100644 t/t5100/.gitattributes\n\ndiff --git a/t/t5100/.gitattributes b/t/t5100/.gitattributes\nnew file mode 100644\nindex 0000000..feeebf2\n--- /dev/null\n+++ b/t/t5100/.gitattributes\n@@ -0,0 +1,4 @@\n+msg*\tencoding=UTF-8\n+info*\tencoding=UTF-8\n+rfc2047-info-*\tencoding=UTF-8\n+sample.mbox\tencoding=UTF-8\n-- \n1.6.5.1028.g985e.dirty\n"}]}