summaryrefslogtreecommitdiffstats
path: root/gitattributes.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-11-15 08:07:55 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-11-15 08:07:55 +0000
commitd3452a0b887b74a3c7ce37ba11453e80ccb3aad6 (patch)
tree5107c80123b2f4e8ae4f1554a24ae35decd8456b /gitattributes.txt
parent283634923aa8f124696f3e9a77a012b96493c2d7 (diff)
downloadgit-htmldocs-d3452a0b887b74a3c7ce37ba11453e80ccb3aad6.tar.gz
Autogenerated HTML docs for v1.6.0.4-735-gea4f
Diffstat (limited to 'gitattributes.txt')
-rw-r--r--gitattributes.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/gitattributes.txt b/gitattributes.txt
index a172baf99..8af22ecca 100644
--- a/gitattributes.txt
+++ b/gitattributes.txt
@@ -535,6 +535,23 @@ in the file. E.g. the string `$Format:%H$` will be replaced by the
commit hash.
+Viewing files in GUI tools
+~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+`encoding`
+^^^^^^^^^^
+
+The value of this attribute specifies the character encoding that should
+be used by GUI tools (e.g. linkgit:gitk[1] and linkgit:git-gui[1]) to
+display the contents of the relevant file. Note that due to performance
+considerations linkgit:gitk[1] does not use this attribute unless you
+manually enable per-file encodings in its options.
+
+If this attribute is not set or has an invalid value, the value of the
+`gui.encoding` configuration variable is used instead
+(See linkgit:git-config[1]).
+
+
USING ATTRIBUTE MACROS
----------------------