Unified (diff -u) diff please.
-- Dmitry.
I made : [notepad] cvs diff >$HOME/patches/patch.diff [notepad] diff -u /dev/null notepad_res.h
$HOME/patches/patch.diff
What am I missing ?
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
On Mon, 11 Mar 2002, Sylvain Petreolle wrote:
Unified (diff -u) diff please.
-- Dmitry.
I made : [notepad] cvs diff >$HOME/patches/patch.diff [notepad] diff -u /dev/null notepad_res.h
$HOME/patches/patch.diff
What am I missing ?
cvs diff -u >$HOME/patches/patch.diff ^^
Or more commonly:
$ cat ~/.cvsrc cvs -z 3 update -Pd diff -u
See also: http://www.winehq.com/Docs/wine-devel/patches.shtml
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ "Utilisateur" (nom commun) : Mot utilisé par les informaticiens en lieu et place d'"idiot".
cvs diff -u >$HOME/patches/patch.diff ^^
Or more commonly:
$ cat ~/.cvsrc cvs -z 3 update -Pd diff -u
See also:
Ok, so http://www.winehq.com/dev.shtml must be updated. I just read this :
To do this, just run
cvs update
in the top-level Wine directory. Make sure that you've set up the proper options in your .cvsrc file. Then, use cvs diff > patch.diff
to generate the patch from the top wine directory and save the output to a file. cvs diff will always ignore newly added files, so you'll need to do something like: diff -u /dev/null newfile.c >> patch.diff
to make a patch for newly added files.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com