On Fri, Apr 3, 2009 at 11:44 AM, Andrey Repin <anrdaemon_at_freemail.ru> wrote:
> 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.
>
I am not sure if you are looking for something similar, but if you pass the
following, it shows the unified diff with only the changed line.
--diff-cmd diff -x "--unified=0"
thanks,
-Hari
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1534725
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 20:54:01 CEST