[Ilugc] how to write patch!

  • From: seshadri.navin@xxxxxxxxx (seshadri navin)
  • Date: Wed Mar 30 16:13:38 2005

Raja Mallik wrote:

Hi all, 

A little help on how to create a patch and i am new to this!

For eg, 

I have a two linux sources as "linux-new" and "linux-old"

I want to create a patch for "linux-old" . On adding patch it should be
"linux-new"

let me know how diff works ?

rgds!
-raja

 

Checkout the man page of diff for details , but for instant usage you 
could tryout

diff -urN linux-old linux-new > anyname.diff

HTH
Navin

Other related posts: