Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Feb 2002 11:35:01 -0700 (MST)
From:      "M. Warner Losh" <imp@village.org>
To:        green@FreeBSD.ORG
Cc:        fyre@orbital.wiretapped.net, tim@robbins.dropbear.id.au, freebsd-standards@FreeBSD.ORG
Subject:   Re: diff problem 
Message-ID:  <20020209.113501.106622753.imp@village.org>
In-Reply-To: <200202091752.g19HqFP11551@green.bikeshed.org>
References:  <imp@village.org> <200202091752.g19HqFP11551@green.bikeshed.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200202091752.g19HqFP11551@green.bikeshed.org>
            "Brian F. Feldman" <green@FreeBSD.ORG> writes:
: Do I get to whine that subversion's non-standard use of pseudo-diff lines is 
: bogus, then?  All told, I'd actually rather our diff would refuse to act 
: upon files that have no end-line.  Encourage people to use non-stupid 
: editing tools that conform to the way things have been done for decades.

Subversions use is not non-standard.  Of all the diffs that I looked
at, FreeBSD's is the odd man out.  It is non-standard from how the
rest of the world.  the use of "non-standard" tools happens and our diff
shouldn't be stupid when people do that.  Diff has spit out the
warning for decades and should continue to do so.  It isn't diff's job
to judge the user when they do a diff that doesn't end in a newline.

Gnu patch deals with this.  Our patch does not.  Our patch is broken
and diff shouldn't pander to it when there are legitimate other users
of diff's legitimate output.

Warner



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020209.113501.106622753.imp>