Hey team, git diff --exit-code in 2.46.x is unexpectedly returning a zero exit code for files marked as binary in .gitattributes where 2.45.x would correctly produce a non-zero exit code. To reproduce: mkdir -p git-exit-code/dist cd git-exit-code git init echo "hi" > dist/main.js echo "dist/** binary" > .gitattributes git add --all git commit -m "Initial commit" echo "some change" >> dist/main.js git diff --exit-code echo $? # actual is 0, expected to be 1 Is this intended? Kind regards Jan