SublimeDiffView
SublimeDiffView copied to clipboard
More granular diffs
This was originally a bug when the plugin was using 'porcelain' diffs.
Delete a word from the beginning of a whitespace-indented line. You get a 'porcelain' diff that just has:
@@ -502 +507,2 @@ class HunkDiff(object):
-for
old comment words
~
This is Git being weird, dunno how to work around it...
...and it means we get the indentation of the delete region wrong...
Perhaps try the basic --word-diff
rather than --word-diff=porcelain
?
Not sure this will be possible with native SVN diffs...