threads / discuss / 21960

TortoiseGIT

Subject: TortoiseGIT

## tl;dr

2 messages between Dec 15, 2009 and Dec 16, 2009.

replies: 1people: 2as markdown or json

Laszlo Papp· Dec 15, 2009, 15:41 UTC · lore
Hello,

I had got a problem in the past with cr + lf between windows and linux client(maybe now too). I heard that from more experienced users I need to set autocrlf + safecrlf on windows, and core.autocrlf false on linux (which is the default), but If I set core.autocrlf true on linux too, it worked normally, after a git pull on windows I don't see any modified file that should be committed, not the case in core.autocrlf false.

Could someone explain this habbit of git, please ?

Everybody said I need to set autocrlf for false, but it doesn't work so, just with true on linux client, what do I do wrong ? It's okay now for me, because it works without any problem, I just don't understand the behaviour of it, and I don't know whether it will cause further problems.

Thanks in advance!

Best Regards, Laszlo Papp

Frank Li· Dec 16, 2009, 06:26 UTC · re: Laszlo Papp · lore

Re: TortoiseGIT

You keep cr+lf on/off on whole develop cycle. Avoid change it during developing. After change cr+lf setting, I perfer you remove all work copy and recheckout all.

best regards Frank Li

2009/12/15 Laszlo Papp <djszapi@archlinux.us>:
Show 27 quoted lines
> Hello,
>
> I had got a problem in the past with cr + lf between windows and linux
> client(maybe now too).
> I heard that from more experienced users I need to set autocrlf +
> safecrlf on windows, and core.autocrlf false on linux (which is the
> default), but If I set core.autocrlf true on linux too, it worked
> normally, after a git pull on windows I don't see any modified file
> that should be committed, not the case in core.autocrlf false.
>
> Could someone explain this habbit of git, please ?
>
> Everybody said I need to set autocrlf for false, but it doesn't work
> so, just with true on linux client, what do I do wrong ?
> It's okay now for me, because it works without any problem, I just
> don't understand the behaviour of it, and I don't know whether it will
> cause further problems.
>
> Thanks in advance!
>
> Best Regards,
> Laszlo Papp
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

← back to recent threads