bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs diff and added files


From: Ian Lance Taylor
Subject: Re: cvs diff and added files
Date: 08 Feb 2001 09:38:19 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

"Derek R. Price" <derek.price@openavenue.com> writes:

> According to my patch man page, it appears CVS is relying on some POSIX
> behavior which tells patch to read the filename on the 'Index:' line and not
> the later 'diff', '---', and '+++' lines.  Unfortunately, my implementation
> of patch appears to then ignore created files, though from the man page it
> doesn't appear that it is supposed to.

If you are using GNU patch, then I believe you need to set the
environment variable POSIXLY_CORRECT to get it to honor the Index:
lines.

Ian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]