
Felix Martini wrote:
Sigbjorn Finne:
It works fine, but be mindful of how 'git' handles crlf translations on Windows. Having run into this a couple of times, it certainly looks the likely cause. Felix may want to try cloning as follows:
foo$ git config --global core.autocrlf false foo$ git clone http://darcs.haskell.org/ghc.git
Unfortunately i cannot change the global autocrlf flag because of other projects. I edited the sync-all script to fix the problem, but is good to know that line conversions may be the cause. It would be nice if sync-all (and other scripts) were written in portable Perl. Perl runs well on Windows whereas msys is brittle.
ok. Surely you could just temporarily set it as such, followed by config'ing it for that repo only rather than have it be global? I suspect tweaking that one file instead will just be the first of many such tweaks.. --sigbjorn