git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug?] git submodule add doesn't respect core.autocrlf
@ 2008-06-26  5:43 Edward Z. Yang
  2008-06-26  8:40 ` Lars Hjemli
  2008-06-26 11:58 ` [TEASER PATCH] write .gitmodules according to core.autocrlf Johannes Schindelin
  0 siblings, 2 replies; 3+ messages in thread
From: Edward Z. Yang @ 2008-06-26  5:43 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-26 12:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26  5:43 [Bug?] git submodule add doesn't respect core.autocrlf Edward Z. Yang
2008-06-26  8:40 ` Lars Hjemli
2008-06-26 11:58 ` [TEASER PATCH] write .gitmodules according to core.autocrlf Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).