[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs diff: Include contents of added files?
From: |
Todd Denniston |
Subject: |
Re: cvs diff: Include contents of added files? |
Date: |
Wed, 05 May 2004 13:41:18 -0500 |
Toralf wrote:
>
> 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?
>
> I want this because I'd like to create a patch file containing *all*
> changes made on the working directory - including files scheduled for
> addition.
>
cvs diff --new-file <more_options> tst.c
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter