summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-19 10:47:54 +0900
committerJunio C Hamano <gitster@pobox.com>2017-09-19 10:47:54 +0900
commit0517ae0ba6a69c5c11cb8660c3d491f525cba09c (patch)
treef7af1195bd56701532ad03c33d2b4327c509ad35 /Documentation
parent281b1cf85668d6243fd714dc453f9ddfd32e90da (diff)
parent3bc4b8f7c757059bb845b5074691362cece91c70 (diff)
downloadgit-0517ae0ba6a69c5c11cb8660c3d491f525cba09c.tar.gz
Merge branch 'bb/doc-eol-dirty'
Doc update. * bb/doc-eol-dirty: Documentation: mention that `eol` can change the dirty status of paths
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/gitattributes.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index c4f2be2542..4c68bc19d5 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -151,7 +151,10 @@ unspecified.
This attribute sets a specific line-ending style to be used in the
working directory. It enables end-of-line conversion without any
-content checks, effectively setting the `text` attribute.
+content checks, effectively setting the `text` attribute. Note that
+setting this attribute on paths which are in the index with CRLF line
+endings may make the paths to be considered dirty. Adding the path to
+the index again will normalize the line endings in the index.
Set to string value "crlf"::