Skip to content

Commit 41a616d

Browse files
tboegigitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2632c89 commit 41a616d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Documentation/git-ls-files.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ not accessible in the working tree.
159159
+
160160
<eolattr> is the attribute that is used when checking out or committing,
161161
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.
164163
+
165164
Both the <eolinfo> in the index ("i/<eolinfo>")
166165
and in the working tree ("w/<eolinfo>") are shown for regular files,

0 commit comments

Comments
 (0)