-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Toralf <[EMAIL PROTECTED]> writes:
> When I run 'cvs diff' on a directory where a new file has been added,
> but not commited, the output will contain a line saying
>
> cvs server: tst.c is a new entry, no comparison available
>
> (if the name of the file is tst.c)
>
> Is it possible to have the compelete contents of the file listed as
> added lines instead? Differently put, can I get cvs to include the
> output of
> diff <options> /dev/null tst.c
> instead of printing the above mentioned message?
Yes, use the -N switch to the cvs diff command. For example:
cvs diff -Nup tst.c
should do what you want.
Enjoy!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFAmT7b3x41pRYZE/gRAjteAKDVPXNIvKPvPkytsZ7LjJ8qK2U9kQCfaAVN
XGdEjaFnCsdLow5euXj5iNk=
=NRQR
-----END PGP SIGNATURE-----
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs