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 have several problems with diff and patch bindings:
when comparing with empty string it reports one context line (empty string itself), but it probably should consider empty string as no input or provide a way to pass nil as empty input,
it is not possible to specify (fake) filenames used in place of question marks in --- ? and +++ ?
no way to pass context lines number,
diff triggers if one of files doesn't exist, it is possible to fake such file with /dev/null, but it is platform dependent,
binary files trigger utf8 conversion error, the overall behavior with binary files is yet blurry and it may not be related to bindings
Haven't used patch, but it seems that it works with strings, but not files and possibly requires to split combined diff first.
The text was updated successfully, but these errors were encountered:
I have several problems with diff and patch bindings:
/dev/null
, but it is platform dependent,Haven't used patch, but it seems that it works with strings, but not files and possibly requires to split combined diff first.
The text was updated successfully, but these errors were encountered: