You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried the second one and it worked here, but I'm keep the original call and use it with the diff command from diffutils. Should we add in the docs that Apple Diff is not compatible with this plugin or there's a way to safely change the command to work with Apple Diff?
The text was updated successfully, but these errors were encountered:
You’re probably not getting the right output from apple diff without these options. However maybe there are options to get the right output if we detect that’s the diff being used? We just want the pairs of new/changed lines in the format start,end.
If you diff 2 files with apple diff:
a
b
c
and:
a
f
c
d
What is the output you get? It should be 2,2 4,4 .
I'm running MacOS Ventura 13.0.1, and with
let g:strip_only_modified_lines=1
, the plugin call Apple Diff with 3 removed options:I found two solutions to this problem:
diffutils
using Homebrew.I tried the second one and it worked here, but I'm keep the original call and use it with the
diff
command fromdiffutils
. Should we add in the docs that Apple Diff is not compatible with this plugin or there's a way to safely change the command to work with Apple Diff?The text was updated successfully, but these errors were encountered: