git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] Mark files in t/t5100 as UTF-8

From
Johannes Sixt <j6t@kdbg.org>
Date
Oct 21, 2009, 11:35 UTC
Message-ID
<1256124916-26486-2-git-send-email-j6t@kdbg.org>
In-Reply-To
<1256124916-26486-1-git-send-email-j6t@kdbg.org>

This enables gitk to show the patch text with correct glyphs if the locale is not UTF-8.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
---
 This is particularly interesting for users on Windows, because we
 do not have a usable UTF-8 locale.
 t/t5100/.gitattributes |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100644 t/t5100/.gitattributes
diff --git a/t/t5100/.gitattributes b/t/t5100/.gitattributes
new file mode 100644
index 0000000..feeebf2
--- /dev/null
+++ b/t/t5100/.gitattributes
@@ -0,0 +1,4 @@
+msg*	encoding=UTF-8
+info*	encoding=UTF-8
+rfc2047-info-*	encoding=UTF-8
+sample.mbox	encoding=UTF-8
-- 
1.6.5.1028.g985e.dirty
Previous: Johannes Sixt
Message 2 of 2 in “Remove a left-over file from t/t5100”
  1. 1/2 Remove a left-over file from t/t5100Johannes Sixt, Oct 21, 2009
  2. 2/2 Mark files in t/t5100 as UTF-8Johannes Sixt, Oct 21, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.