summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-10-18 14:19:09 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-18 14:19:09 +0900
commit28a925bc515c3672a46739434aefb78593ee6883 (patch)
tree0d3e27759b07db5ae4550d6a5b507b24d1beee01 /Documentation
parentMerge branch 'mg/timestamp-t-fix' into maint (diff)
parentDocumentation: mention that `eol` can change the dirty status of paths (diff)
downloadtgif-28a925bc515c3672a46739434aefb78593ee6883.tar.xz
Merge branch 'bb/doc-eol-dirty' into maint
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"::