Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Binary output written to console #217
If you track binary files with Chezmoi, you will see binary output in the termianl when using
I suggest checking if the files contain a NUL byte before printing them to the terminal. That heuristic normally works okay to determine if a file is "binary" or not.
This isn't supposed to happen. There's a check for whether a file is binary or not before printing the diff. Obviously it's not working. What are the contents of the binary file that's getting printed? A hex dump of the first 512 bytes should be enough for reproducing this bug.