r-lib / gert

Simple git client for R
https://docs.ropensci.org/gert/
Other
146 stars 31 forks source link

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

Open cjvanlissa opened 1 year ago

cjvanlissa commented 1 year ago

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.