gert icon indicating copy to clipboard operation
gert copied to clipboard

FR: Function to determine whether git is treating a file as text or binary

Open cjvanlissa opened this issue 2 years ago • 0 comments

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.

cjvanlissa avatar Jul 26 '23 16:07 cjvanlissa