[darcs-devel] [patch1952] Added interactive flag to diff
Ben Franksen
bugs at darcs.net
Thu Jan 23 17:43:24 UTC 2020
Ben Franksen <ben.franksen at online.de> added the comment:
What breaks the regular diff is that you pass an empty string as an
extra argument. Apparently diff doesn't like that whereas vimdiff just
ignores it.
In my version I fixed that by changing the type of execInteractive to
String -> Maybe String -> IO ExitCode
i.e. allow the argument to be optional, and then pass Nothing instead of
an empty argument.
I would have sent a patch with my solution, but then I stumbled over the
problem with getDiffDoc no longer working as expected...
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1952>
__________________________________
More information about the darcs-devel
mailing list