gert
gert copied to clipboard
FR: Function to determine whether git is treating a file as text or binary
See this discussion here: https://stackoverflow.com/questions/6119956/how-to-determine-if-git-handles-a-file-as-binary-or-as-text
This should be possible with native git commands, and is really useful information e.g. when dealing with git's convoluted autocrlf handling.