lkml.org 
[lkml]   [1999]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: diff -X exclude_file for patching live kernels?
Date
>>>>> "Alexander" == Alexander Viro <viro@math.psu.edu> writes:
>> Does some kind soul have an exclude file for being able to run
>> diff -urN -X exclude_file linux linux-patched > my.patch 2>&1

I usually just do `cvs diff' :-)

>> i.e. I can put patterns like "*.o" ".config" etc etc but it will take time
>> to find them all out.

You can probably find them by looking at the `distclean' targets
in the Makefiles.

> do cp -rl before everything else and build on a mirror tree. Vi knows
> how to deal with links, so it doesn't create a separate copy when you edit
> file. Even if you are using the abortion from MIT the first variant will go.

I can't resist pointing out that although the default behavior of God's
editor doesn't handle symlinks (and hardlinks of course) in that way,
it's very easy to fix it (like I did years ago) in your .emacs:

(setq-default backup-by-copying t)

or better yet:

(setq make-backup-files nil)


-- Stefan

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.022 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site