[Bug?] git submodule add doesn't respect core.autocrlf
- From
Edward Z. Yang <edwardzyang@thewritingpot.com>
- Date
- Jun 26, 2008, 05:43 UTC
- Message-ID
- <g3vaaq$pm1$1@ger.gmane.org>
It doesn't appear that git-submodule add respects crlf, as evidenced by this set of commands on Windows:
mkdir test cd test git init git config core.safecrlf true git config core.autocrlf true git submodule add http://repo.or.cz/w/htmlpurifier.git htmlpurifier
You get: "fatal: LF would be replaced by CRLF in .gitmodules" and inspecting .gitmodules reveals that it uses LF, instead of CRLF.
Can anyone reproduce? Thanks.