Skip to content

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

Description

@cjvanlissa

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions