git ls-files: text=auto eol=lf is supported in Git 2.10
The man page for `git ls-files --eol` mentions the combination of text attributes "text=auto eol=lf" or "text=auto eol=crlf" as not supported yet, but may be in the future. Now they are supported. Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Torsten Bögershausen committed
Aug 25, 2016 at 17:52 UTC
41a616dadaf2a7445ea7c3f5d77a20337af4de90
1 file changed
+1
-2
Documentation/git-ls-files.txt
+1
-2
@@ -159,8 +159,7 @@ not accessible in the working tree.
159
+
160
<eolattr> is the attribute that is used when checking out or committing,
161
it is either "", "-text", "text", "text=auto", "text eol=lf", "text eol=crlf".
162
-Note: Currently Git does not support "text=auto eol=lf" or "text=auto eol=crlf",
163
-that may change in the future.
162
+Since Git 2.10 "text=auto eol=lf" and "text=auto eol=crlf" are supported.
163
+
164
Both the <eolinfo> in the index ("i/<eolinfo>")
165
and in the working tree ("w/<eolinfo>") are shown for regular files,