[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cr, lf on merge ... implement or use gnu diff option?

From: Lele Gaifax <lele_at_seldati.it>
Date: 2002-11-12 23:08:03 CET

>>>>> On Tue, 12 Nov 2002 08:52:20 -0800 (PST), solo turn <soloturn99@yahoo.com> said:

    st> perforce handles that via saying: unix, max-os-X use lf, so we
    st> in the repository use linefeed. for macos you have to tell
    st> poeple what to do.

    st> for win, the cr are striped away when transferring to the
    st> repository, and also when doing diffs.

This would be wrong! I "love"/"hate" WinCVS(*) for this every day, but
as already said by Ben, it's the wrong approach to the problem.
Please, consider using a better/smarter editor that does not hurt your
sources that way.

ciao, lele.

(*) CVS does not work with cr-lf convention, so WinCVS has on option
to automatically add/remove that "spurious" (I'm maybe too biased here
:) CR. But I think the convention used should not be a matter of the
version control system, that IMHO *should*not* alter my source in any
way.

-- 
nickname: Lele Gaifax	| Quando vivro' di quello che ho pensato ieri
real: Emanuele Gaifas	| comincero' ad aver paura di chi mi copia.
email: lele@seldati.it	|		-- Fortunato Depero, 1929.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 12 23:08:18 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.