You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
The GitHub package chokes on files that have filemodes changed from 100644 to 100755 or vise versa. Repro steps:
Scenario 1: only changing file mode
Change a non-executable file in a repo to be executable: chmod +x somefile.txt
Click on the file in Atom
Atom throws an exception in the diff parser (what-the-diff). It is possible to stage the file by pressing enter on the file or right-clicking and choosing "Stage."
Scenario 2: text and file mode changes
Change a non-executable file in a repo to be executable: chmod +x somefile.txt
Change the contents of the file
Click on the file in Atom
In this case, Atom shows the text changes and allows the user to stage the lines/hunks effected, but once they're all staged, the same issue as the scenario above appears.
Pretty sure this is a duplicate but I can't seem to find the original issue. ¯\(º_o)/¯