Re: [msysGit] Re: Store autocrlf during init-db (was [msysGit] autocrlf problems with Git-preview20080301.exe)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 23, 2008, 23:39 UTC
- Message-ID
- <alpine.LSU.1.00.0803240038180.4353@racer.site>
- In-Reply-To
- <alpine.OSX.1.00.0803232237400.19285@cougar>
Hi,
On Sun, 23 Mar 2008, Steffen Prohaska wrote:
Show 10 quoted lines
> On Sun, 23 Mar 2008, Johannes Schindelin wrote: > > > I have the impression that a problem just like this will arise again, > > just not with corelf, but with another setting that the admin might > > want to set per default in git-init, but the user might want to > > override. > > My patch does not set the default in git-init, but only stores the > current choice of autocrlf in the repository's config. autocrlf is > special because it cannot be easily changed after the initial checkout.
But basically all clean/smudge filters have exactly the same problem! And core.ignorecase, too!
There must be a way to do it elegantly, without catering just for autocrlf.
Ciao, Dscho