git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: suggestion for improved docs on autocrlf

From
Torsten Bögershausen <tboegi@web.de>
Date
Aug 8, 2019, 20:56 UTC
Message-ID
<20190808205631.e2647kxq74thotjb@tb-raspi4>
In-Reply-To
<9c79d35e48df4d28baf995ad3f5b0153@bofa.com>
On Wed, Aug 07, 2019 at 01:08:22PM +0000, Yagnatinsky, Mark wrote:
> I hope this is the right mailing list, hope someone will redirect me if not...
Yes, you are at the right place, wellcome to the Git community.
> The git documentation (git help config) for core.autocrlf doesn't mention that false is a valid option; it only mentions true and input.

This is somewhat common to all config settings: WHen a new feature is introduced, Git treats "config not defined" as false. This allows later Git versions to behave like older versions, when the config is not set. In that sense "not set" means the same as "false", and is the opposite to "true". (At least for core.autocrlf).

Later the third value "input" was introduced.
> Further, the docs for "input" are misleading, in that they lead the reader to assume it behaves like "false".
>
We can agree on that.
> Would probably be nice if this were fixed :)

Yes, do I read this as "I will send a patch" ? That would be nice.

> Mark.
Previous: Yagnatinsky, MarkNext: Yagnatinsky, Mark
Message 2 of 23 in “suggestion for improved docs on autocrlf”
  1. Yagnatinsky, MarkAug 7, 2019
  2. Torsten BögershausenAug 8, 2019
  3. Yagnatinsky, MarkAug 8, 2019
  4. Yagnatinsky, MarkAug 8, 2019
  5. Torsten BögershausenAug 9, 2019
  6. Yagnatinsky, MarkAug 9, 2019
  7. Torsten BögershausenAug 11, 2019
  8. Yagnatinsky, MarkAug 12, 2019
  9. Junio C HamanoAug 12, 2019
  10. Yagnatinsky, MarkAug 12, 2019
  11. Torsten BögershausenAug 12, 2019
  12. Yagnatinsky, MarkAug 12, 2019
  13. Junio C HamanoAug 12, 2019
  14. Yagnatinsky, MarkAug 12, 2019
  15. Torsten BögershausenAug 13, 2019
  16. Yagnatinsky, MarkAug 13, 2019
  17. Torsten BögershausenAug 13, 2019
  18. Yagnatinsky, MarkAug 13, 2019
  19. Yagnatinsky, MarkAug 14, 2019
  20. Yagnatinsky, MarkAug 15, 2019
  21. Torsten BögershausenAug 16, 2019
  22. Yagnatinsky, MarkAug 16, 2019
  23. Junio C HamanoAug 13, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.