Comment on Safe-commit-hook: prevent developers from checking in sensitive filesComments−caio198210yWhy would you simply rely on extensions instead of, say, also the file's magic numbers?
Comments
Why would you simply rely on extensions instead of, say, also the file's magic numbers?