Re: diff command line?

From: Michelle Konzack
Date: Mon Mar 07 2005 - 05:55:25 EST


Hello Russell,

Am 2005-03-05 16:18:24, schrieb Russell King:
> On Sat, Mar 05, 2005 at 10:48:00AM -0500, Gene Heskett wrote:
> > What are the options normally used to generate a diff for public
> > consumption on this list?
>
> diff -urpN orig new

This is what I using curently

diff -Nurp src.orig/linux src/linux >src.diff/linux

Now I have a question: How can one create this Type of patches ?
(Curently I am using scripts to strip "src.orig" and "src")

Index: linux-sd/include/linux/mmc/host.h
===================================================================
--- linux-sd/include/linux/mmc/host.h (revision 138)
+++ linux-sd/include/linux/mmc/host.h (working copy)
@@ -51,6 +51,11 @@
#define MMC_POWER_OFF 0


I was searching the commandline parameters for it...
(using Debian GNU/Linux)

Thanks
Michelle

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature