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

Re: GNU diff or not GNU diff, that is the question...

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-04-11 19:12:29 CEST

Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:
> I think we are on the right track and what is needed is a removal of the -u
> passed to to diff, and a way to specify in ~/.subversion/options to pass
> -X"-u" to svn diff by default.

If "-c" is common to all diffs, then we could use that instead of
"-u". It was sort of a toss-up when we implemented it, if I recall
correctly. Although a significant majority preferred -u, nearly all
qualified their preference as "mild".

But then again, if we're still requiring GNU diff *anyway*...

> Maybe sussman remembers better, but what I thought happened was that
> when we switched to using diff3, we decided that we still needed gnu
> diff (since diff3 runs it under the hood), but we could you any diff
> for svn diff. Hence the problem.

... then we might as well just use it for "svn diff" too, and stick
with -u. Ben (Collins-Sussman), do you remember what we changed such
that "svn diff" now might run something other than GNU diff?

Either way, it's important that the output of "svn diff" default to
one of the human-friendly formats (context or unified).


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 11 19:08:33 2002

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