Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-7189

Plain text file treated as binary

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 4.0
    • Git
    • None
    • Severity 3 - Minor

      I'm on the latest version 4.0.1 of Sourcetree for Mac. I have started noticing that any new txt or json file that I add is being treated as a binary. I've confirmed the file encoding to be utf-8. Running the file -I command on one such file is shown below:

      file -I package-lock.json
      package-lock.json: application/json; charset=us-ascii

      I've read about such issues with large files, but I'm seeing these file less than 100 bytes in size.

      Is this a bug or am I missing something?

      Thanks.

              75e61816958e Pratap Guvvala
              3afcdfae8d49 Harwinder S
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: