From: Alex Stangl Date: Fri, 05 Dec 2014 16:33:58 GMT Subject: Re: error: core.autocrlf=input conflicts with core.eol=crlf Message-ID: <20141205163358.GA77231@scout.stangl.us> In-Reply-To: <5481D587.2050103@web.de> On Fri, Dec 05, 2014 at 04:55:51PM +0100, Torsten B?gershausen wrote: > On 12/05/2014 09:10 AM, Torsten B?gershausen wrote: > Or a test case showing the problem is welcome too. I mentioned some examples in my previous post. Here they are in condensed form. They assume core.eol isn't set in your global config. These work fine: $ mkdir -p /tmp/ex1_$$;cd /tmp/ex1_$$;git init;git config --global core.autocrlf input;git config core.autocrlf false;git config core.eol crlf;git status $ mkdir -p /tmp/ex3_$$;cd /tmp/ex3_$$;git init;git config --global core.autocrlf input;git -c core.autocrlf=false -c core.eol=crlf status These equivalents fail: $ mkdir -p /tmp/ex2_$$;cd /tmp/ex2_$$;git init;git config --global core.autocrlf input;git config core.eol crlf;git config core.autocrlf false;git status $ mkdir -p /tmp/ex4_$$;cd /tmp/ex4_$$;git init;git config --global core.autocrlf input;git -c core.eol=crlf -c core.autocrlf=false status Alex