Am Mi., 22. Sept. 2021 um 13:22 Uhr schrieb Miro Hrončok <mhroncok@xxxxxxxxxx>: > We are presented with 3 possible actions: How about using Git's heuristic: A file is binary if there's a null byte '\0' found within the first 8000 bytes. It can even be used like this [1]: "git merge-file /dev/null /dev/null file-to-test" which will exit with 255 if it thinks the file is binary, and 0 otherwise. - Thomas [1] Seen here: https://stackoverflow.com/a/6134127/896308 _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure