help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding ^M


From: Tim X
Subject: Re: Hiding ^M
Date: Wed, 24 Feb 2010 17:57:01 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

Óscar Fuentes <ofv@wanadoo.es> writes:

> Tim X <timx@nospam.dev.null> writes:
>
>>> I agree, but the advice does not apply here because that major mode
>>> displays a series of diffs taken from all edited files on a git working
>>> tree. Some have crlf line endings, and they are shown as ^M.
>>
>> Doesn't GIT have some sort of setting to handle this?
>
> It has settings for eol conversion. In this case, I don't want those
> conversions to take effect, because those files are supposed to have
> crlf line endings.
>

Under SVN, if you set eol-style to native, the SVN client takes care of
all this conversion stuff - it does not get into the repository - more
specifically, differences in client eol requirements are handled at the
client level and therefore don't affect what is in the repository and at
the same time eliminate issues of different eol styles because of users
with different clients. I would expect GIT to have something similar. 

Tim
>
>
>

-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]