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

Re: Is there a way to unset the built-in -u option to diff command?

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Fri, 3 Apr 2009 22:44:01 +0400

Greetings, Paul Koning!

>> Greetings, All! I'm exhausted of ideas... I want diff
>> command to simple show the changed lines as per diff -cb or
>> diff -b Any way to unset built-in -u flag? It does set it
>> even to the external diff command...

> I mentioned that quite a while ago. It seems that the only way to do
> it is to use a script as your external command, which strips out the
> -u flag and passes only what you want to the real diff command.

I could do that, however, but... it's not what I prefer to do every now and
then.

> This is an unfortunate bug.

More like absence of a feature... at least in relation to builtin diff.
For external program call, it is sure bug.

Fake edit:
After some research, the c:/bin/diff.bat with
> shift
> C:/bin/diff.exe %*
did the trick. Thanks.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 03.04.2009, <22:29>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1534659
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 20:45:54 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.