pub fn diff_attr_forces_binary(git_dir: &Path, path: &str) -> bool
True when a path carries the -diff (or diff=unset / binary) attribute, which forces Git to emit Binary files ... differ regardless of content.
-diff
diff=unset
binary
Binary files ... differ