Mike Williams wrote:
> The switch to the internal diff has stopped diffs on binary data files > from working. This used to work with the default values for diffopt and > diffexpr in 8.1.0359. Now vim detects there is a difference, showing > closed regions where there are no differences, but fails to highlight > the actual difference. (FWIW the closed region is also different to the > one before internal diff was added - not too worried about that, just > seeing the actual difference.) I have attached two small binary files > with a single byte difference between them. > > Is the intent that the internal diff should be a direct replacement for > plain vanilla diff command or does it have known limitations like this? > > Of course I may be strange in wanting to diff binary data, but at times > it is a quick way to detect small changes in otherwise large complex > encoded files. This looks like a bug. Might be in xdiff or how Vim passes the text to xdiff. -- Facepalm statement #7: "Last week I almost got pregnant!" /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
