The problem described in my original message seems to stem from the fact that the line endings are not written as CRLF in the working directory.
Please consider these simple steps to see the problem:
d:\Dev> git --version git version 1.8.0.msysgit.0 d:\Dev> git config -l core.symlinks=false core.autocrlf=false color.diff=auto color.status=auto color.branch=auto color.interactive=true pack.packsizelimit=2g help.format=html http.sslcainfo=/bin/curl-ca-bundle.crt sendemail.smtpserver=/bin/msmtp.exe diff.astextplain.textconv=astextplain rebase.autosquash=true user.name=Carsten Fuchs [email protected] core.editor='C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin d:\Dev> git clone [email protected]:cafu/cafu.git Cafu-Test Cloning into 'Cafu-Test'... remote: Counting objects: 30588, done. remote: Compressing objects: 100% (11282/11282), done. remote: Total 30588 (delta 20466), reused 28950 (delta 19084) Receiving objects: 100% (30588/30588), 92.42 MiB | 422 KiB/s, done. Resolving deltas: 100% (20466/20466), done. Checking out files: 100% (9263/9263), done. d:\Dev> cd Cafu-Test d:\Dev\Cafu-Test> type .gitattributes *.h text *.hpp text *.c text *.cpp text *.txt text
When you now look at any of the .h, .hpp, ... files declared as "text" in .gitattributes, they all have LF instead of the expected CRLF line endings. (Note that core.eol is not set.)
Why? Any help would very much be appreciated! Best regards, Carsten -- Dipl.-Inf. Carsten Fuchs Carsten Fuchs Software Industriegebiet 3, c/o Rofu, 55768 Hoppstädten-Weiersbach, Germany Internet: http://www.cafu.de | E-Mail: [email protected] Cafu - the open-source game and graphics engine for multiplayer 3D action -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
