On 27/10/09 m.m-o.net said:

> Now I have another question. I started a git repo on my Linux machine
> and then cloned it to a usb stick. Now my coworker cloned this one to
> his Windows pc. Now he gets the message that there have been lots of
> unsubmited changes though its the same repo. I took a look at the
> changes and I think it might be about the line breaks. Is there a way
> to work together over system borders anyway or are the different line
> breaks the end of our co-work?

Cloning won't introduce changes. Most likely he's opened and saved the files
on windows, introducing changes, so Git is correct.

Git will only think that the files have changed if their SHA-1's change, and
thus the contents have changed.

You might want to look at core.autocrlf though.

Mike
-- 
Michael P. Soulier <msoul...@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Attachment: signature.asc
Description: Digital signature

Reply via email to