|
From: | Toralf |
Subject: | Re: cvs diff: Include contents of added files? |
Date: | Wed, 05 May 2004 20:53:32 +0200 |
User-agent: | Mozilla Thunderbird 0.5 (X11/20040208) |
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 sayingI believe I found the answer myself. It looks like 'cvs diff -N' will give me the output I want!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 ofdiff <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.- Toralf
[Prev in Thread] | Current Thread | [Next in Thread] |