lkml.org 
[lkml]   [2000]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Patch generation
From

[Dan Aloni]
> > Then you run this script (I got it when Riel pasted it on IRC)
> >
> > for i in `find ./ -name \*.orig` ; do diff -u $i `dirname $i`/`basename $i
> > .orig` ; done

That works, but see http://bugs.debian.org/64958 for my variant: a
fairly trivial diff diff that adds a flag '-k' which lets you specify
your backup suffix, then it just takes one file|dir instead of two.

diff -urN -Xdontdiff -k.orig {source-tree}

It's been sent to Paul Eggert (of diffutils); no word so far.

[George Anzinger]
> (I prefer EMACS, which likes to unlink.)

No it doesn't, not always. Your choice:

(setq make-backup-files nil)
(setq backup-by-copying t)

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.050 / U:1.440 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site