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

Re: Huge diff for one-line change in ASF repository

From: Andreas Krey <a.krey_at_gmx.de>
Date: Sat, 15 Oct 2011 23:40:34 +0200

On Sat, 15 Oct 2011 10:41:57 +0000, Les Mikesell wrote:
...
> But a binary EOL is almost never works for cross platfom text. Which
> is why systems designed for cross platform work do the conversions.
> How do git users deal with it?

Only relatively lately, by some local setting that actually does the
CR/LF conversion (iirc core.autocrlf). Details are somewhat intricate.
There may also be hooks that would allow expansion/shortening of
stuff at least similar to $Id$.

As for $Id$, the git way is to compile the output of 'git describe
--dirty' or similar into the binaries, which will show the last tag
(something I don't even know how to find out in svn) reachable from
the current commit/revision, the number of commits since, (part of)
the current commit id and whether there is a local modification in
the sandbox.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Received on 2011-10-15 23:41:16 CEST

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

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