diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-09-19 04:47:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-19 04:47:54 +0300 |
commit | 0517ae0ba6a69c5c11cb8660c3d491f525cba09c (patch) | |
tree | f7af1195bd56701532ad03c33d2b4327c509ad35 | |
parent | 281b1cf85668d6243fd714dc453f9ddfd32e90da (diff) | |
parent | 3bc4b8f7c757059bb845b5074691362cece91c70 (diff) |
Merge branch 'bb/doc-eol-dirty'
Doc update.
* bb/doc-eol-dirty:
Documentation: mention that `eol` can change the dirty status of paths
-rw-r--r-- | Documentation/gitattributes.txt | 5 |
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":: |