ethanlin01x opened a new pull request, #3778: URL: https://github.com/apache/iggy/pull/3778
Fixes #3777. The binary-file filter in `trailing-whitespace.sh` and `trailing-newline.sh` keyword-matched the output of `file(1)`, so any path containing `binary`, `data` or `executable` was skipped, and the type description also matches text files (`JSON data`, `... text executable`). Many tracked text files were never checked. Test the MIME encoding instead (`file -bL --mime-encoding`), which reports `binary` only for genuine binaries on both BSD and GNU `file`. Also fix the three pre-existing violations the repaired check surfaces; the Markdown hard line break becomes a paragraph break to preserve rendering. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
