From: John Gabriele Date: 2006-07-21T23:42:34+09:00 Subject: Re: Rdoc with hyperlinks On 7/20/06, Logan Capaldo wrote: > > On Jul 20, 2006, at 10:53 PM, Logan Capaldo wrote: > > > > > On Jul 20, 2006, at 5:47 PM, Dave Howell wrote: > > > >> > >> On Jul 20, 2006, at 10:43, Eric Hodel wrote: > >> > >>> On Jul 18, 2006, at 5:19 PM, Dave Howell wrote: > >>> > >>>> Make the following changes to files in ..../lib/rdoc > >>> > >>> Can you turn this into a patch? > >> > >> Short answer: "no". > >> > >> Slightly longer answer: "Um, I dunno. What kind of a patch, to be > >> applied with what tool? I've never made a patch. Is it hard?" > >> > > > > One way: > > > > diff -u your_version_with_changes.rb original_version.rb > your.patch > > > > If you changed more than one file I would suggest > > > > diff -u your_version_of_whole_src_tree_directory > > original_version_of_source_tree_directory > your.patch > > > > the people who ask for patches will know how to use the patch tool > > to apply it. > > > > Ack!!! I lied. I always mix that up. > > its diff -u original your_version > > Sorry :(. > If making a patch between two directory trees, you'll also need the -r option: diff -ur foo_original foo_modified > foo_mychanges.patch ---John