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

Re: [PATCH] Extra options for libsvn_diff

From: Martin Furter <mf_at_rola.ch>
Date: 2006-02-16 16:43:52 CET

On Thu, 16 Feb 2006, Peter N. Lundblad wrote:

> I just tried diff -u1 a b and it worked, despite the documentation. And
> --unified has the optional argument, so I think the comment is
> appropriate.

No, it doesn't. "diff -u1 a b" is the same as "diff -u -1 a b", though I
have no idea what the undocumented "-1" option does.

If you specify it like "diff -u 1 a b" GNU diff complains about the extra
operand "b".

(IM[NS]HO spaces between option and parameter should mandatory, but I
guess it's some old compatibility bug)

-Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 16 17:06:20 2006

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.