[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: How does one generate diffs for use with patch



Daniel Martin wrote:
  >...
  >So here's the question - how do I make this patch?  Some files in the
  >original source distribution's debian/ directory aren't there in mine.
  >Also, doesn't a diff usually tell how to change one file into another?
  >How then does one generate patch files to change one file into a modified
  >version of the same file (i.e. source and target filename the same)?

Have the original version in one directory tree (.../tree.orig) and the 
new version in another (.../tree).  Then:

   diff -crN .../tree.orig .../tree > tree.patch




-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: