Skip to content

eol/autocrlf doc clarifications

Jeff King git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2doc/gitattributes: clarify "autocrlf overrides eol"Documentation/gitattributes.txt+3 -10 replies
2/2docs/config: clarify "text property" in core.eolDocumentation/config/core.txt+5 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchSergey LukashevTorsten Bögershausen
1/2Noticed-by
2/2Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] eol/autocrlf doc clarifications
Quoted 8 lines · Torsten Bögershausen
Quoted 2 lines

Yeah, I think the word "property" is unnecessarily confusing. Here's another patch (meant to go on top of the other).

The property was originally meant to say:
- Either the "text" attribute is set in .gitattributes or
- The "text=auto" attribute is set in .gitattributes and Git auto-detects the file as text (and not as binary).

Thanks, that makes it much more clear what the original was trying to say.

Quoted 6 lines

Review

Quoted 2 lines
(quoted diff) +2 -0
+	conversion. Note that this value is ignored if `core.autocrlf`
+	is set to `true`.

Should that be

Review

Quoted 2 lines
(quoted diff) +2 -0
+	conversion. Note that this value is ignored if `core.autocrlf`
+	is set to `true` or `input`.

Yes (and ditto in the other patch).

Here's a re-roll of both patches addressing these issues.

[1/2]: doc/gitattributes: clarify "autocrlf overrides eol" [2/2]: docs/config: clarify "text property" in core.eol

 Documentation/config/core.txt   | 7 +++++--
 Documentation/gitattributes.txt | 4 +++-
 2 files changed, 8 insertions(+), 3 deletions(-)

-Peff