summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2016-04-25 16:56:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-04-25 19:11:45 (GMT)
commit70ad8c8d8c0840fb89492063274132d28bdfbe3b (patch)
treeb7dc574bd123842038e3ea2500112f3d704657c8 /Documentation
parentded2444ad8ab8128cae2b91b8efa57ea2dd8c7a5 (diff)
downloadgit-70ad8c8d8c0840fb89492063274132d28bdfbe3b.zip
git-70ad8c8d8c0840fb89492063274132d28bdfbe3b.tar.gz
git-70ad8c8d8c0840fb89492063274132d28bdfbe3b.tar.bz2
convert: allow core.autocrlf=input and core.eol=crlf
Even though the configuration parser errors out when core.autocrlf is set to 'input' when core.eol is set to 'crlf', there is no need to do so, because the core.autocrlf setting trumps core.eol. Allow all combinations of core.crlf and core.eol and document that core.autocrlf overrides core.eol. Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 2cd6bdd..4a27ad4 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -337,9 +337,9 @@ core.quotePath::
core.eol::
Sets the line ending type to use in the working directory for
- files that have the `text` property set. Alternatives are
- 'lf', 'crlf' and 'native', which uses the platform's native
- line ending. The default value is `native`. See
+ files that have the `text` property set when core.autocrlf is false.
+ Alternatives are 'lf', 'crlf' and 'native', which uses the platform's
+ native line ending. The default value is `native`. See
linkgit:gitattributes[5] for more information on end-of-line
conversion.