[Pmwiki-users] Hook in diff-patch

Patrick R. Michaud pmichaud
Tue Mar 2 08:19:13 CST 2004


On Tue, Mar 02, 2004 at 04:09:32PM +0000, nk at knappi.org wrote:
> > Sorry about that--it's already been fixed for the next release
> > (sometime later today, I hope).
> 
> Mhm, while you're at it... I would very much like to see something like
> http://www.fachschaft.informatik.tu-darmstadt.de/~nknapp/pmwiki/phpdiff/pmwiki-0.6.7.phpdiff.patch
> in pmwiki.php. That way I wouldn't have to patch it every time you make a new release. 
> Only, if it's not too big an inconvenience...

Instead, how about if I change it to:

   $DiffFunction = 'Diff';
   $PatchFunction = 'Patch';

where you can override these variables in config.php with the
names of your custom diff/patch functions?

Pm



More information about the pmwiki-users mailing list