mirror of
https://github.com/git/git.git
synced 2024-10-30 05:47:53 +01:00
docs/config: clarify "text property" in core.eol
The word "property" is vague here. Let's spell out that we mean the path must be marked with the text attribute. While we're here, let's make the paragraph a little easier to read by de-emphasizing the "when core.autocrlf is false" bit. Putting it in the first sentence obscures the main content, and many readers won't care about autocrlf (i.e., anyone who is just following the gitattributes(7) advice, which mainly discusses "text" and "core.eol"). Helped-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2b6808531a
commit
c9446f0504
1 changed files with 5 additions and 2 deletions
|
@ -121,11 +121,14 @@ core.quotePath::
|
|||
|
||||
core.eol::
|
||||
Sets the line ending type to use in the working directory for
|
||||
files that have the `text` property set when core.autocrlf is false.
|
||||
files that are marked as text (either by having the `text`
|
||||
attribute set, or by having `text=auto` and Git auto-detecting
|
||||
the contents as text).
|
||||
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.
|
||||
conversion. Note that this value is ignored if `core.autocrlf`
|
||||
is set to `true` or `input`.
|
||||
|
||||
core.safecrlf::
|
||||
If true, makes Git check if converting `CRLF` is reversible when
|
||||
|
|
Loading…
Reference in a new issue