TortoiseGIT

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

TortoiseGIT

From: Laszlo Papp <hidden>
Date: 2016-06-15 22:47:54

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

Re: TortoiseGIT

From: Frank Li <hidden>
Date: 2016-06-15 22:47:55

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 [off-list ref]:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help