I noticed that when I install Git for Windows 2.16.1.4 with the recommended settings and run "git submodule add", the .gitmodules file is written with LF line endings and I get a warning, "warning: LF will be replaced by CRLF in .gitmodules". Is there a reason the file should be written with LF or is it just an implementation accident? It seems like the most useful behavior would be to write .gitmodules with the same line endings with which it would be checked out according to the core.autocrlf setting.
This came up because I'm working on Braid (
https://cristibalan.github.io/braid/), which currently has a similar issue, and I wanted to look to submodules for precedent.
Thanks,
Matt