[PATCH v2 1/2] git ls-files: text=auto eol=lf is supported in Git 2.10
- From
tboegi@web.de <tboegi@web.de>
- Date
- Aug 26, 2016, 20:18 UTC
- Message-ID
- <20160826201845.28341-1-tboegi@web.de>
- In-Reply-To
- <xmqqpoowlgpv.fsf@gitster.mtv.corp.google.com>
From: Torsten Bögershausen <tboegi@web.de>
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> --- Documentation/git-ls-files.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt index 078b556..0d933ac 100644 --- a/Documentation/git-ls-files.txt +++ b/Documentation/git-ls-files.txt @@ -159,8 +159,7 @@ not accessible in the working tree. + <eolattr> is the attribute that is used when checking out or committing, it is either "", "-text", "text", "text=auto", "text eol=lf", "text eol=crlf". -Note: Currently Git does not support "text=auto eol=lf" or "text=auto eol=crlf", -that may change in the future. +Since Git 2.10 "text=auto eol=lf" and "text=auto eol=crlf" are supported. + Both the <eolinfo> in the index ("i/<eolinfo>") and in the working tree ("w/<eolinfo>") are shown for regular files,
-- 2.9.0.243.g5c589a7