[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How to submit a patch?
From:       Andreas Beckermann <b_mann () gmx ! de>
Date:       2000-11-30 18:15:48
[Download RAW message or body]

On Thursday 30 November 2000 19:01, Anthony Moulen wrote:
> Okay I read the man page for patch (who would have thought) and followed
> the instructions in there using diff -Naur and putting my files into two
> different directories.  I don't know how useful this really is, but here
> is the output:
>

I think it is better to leave the edited file in the directory (e.g. 
src/konsole.C) and copy the original file to somewhere else (e.g. 
src/konsole.C.old or old/konsole.C or something like this).
Patch uses the filename and directory of the new file when applying, so the 
receiver has to create new/konsole.C first (or to rename it in the diff file) 
- but that's no problem in such a small patch
If you use cvs it's even easier: put 
diff -u3 -p 
into your ~/.cvsrc and just do a 
cvs diff > path.diff 
in the directory

CU
Andreas
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic