Skip to content

Conversation

@WGH-
Copy link

@WGH- WGH- commented Aug 29, 2025

Runs git check-attr to get the files git attributes, and treats the file as binary if the attribute value is "unset", matching the built-in git diff.

Fixes #466

Helped-by: @anuramat (#466 (comment))

Runs git check-attr to get the files git attributes, and treats the file
as binary if the attribute value is "unset", matching the built-in git diff.

Fixes Wilfred#466

Helped-by: @anuramat (Wilfred#466 (comment))
@WGH-
Copy link
Author

WGH- commented Aug 29, 2025

This is somewhat quick-and-dirty solution. Perhaps, we we shouldn't run git check-attr so eagerly. In any case, I want to hear some opinions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant