> * simplify the execution of the external diff command
> - withCurrentDirectory (toFilePath odir ++ "/..") $
> - rundiff (takeFileName $ toFilePath odir) (takeFileName $ toFilePath ndir)
> + rundiff (takeFileName $ toFilePath odir) (takeFileName $ toFilePath ndir)
OK - it took me a while to realise this is the same because the new code
is jumping out a nesting level...
> * diff command: inline rundiff, cleanup, add a debug message and comments
...which you then explain in this patch :-)
> * diff command: cleanup imports
> * diff command: move helper functions to the end
> * diff command: pull check for correct %1/%2 usage into getDiffCmdAndArgs
All fine.
|