Join GitHub today
Uncaught (in promise) TypeError: Cannot read property '10' of null when attempting to stage files in specific repo #2257
In one specific repository, Drag-dropping repository files from one folder to another and attempting to stage both delete and add of file renders Git unsuable in Atom for specific repository. At one point in time, this somehow made Atom save .git file to root project repository, causing Atom to read all projects as part of affected repository.
Steps to Reproduce
Atom should stage the
Reproduces how often:
100% of the time
Developer console indicates the following error at time of breaking Atom, and for every load of the project thereafter:
OS: Windows 10
Work around that I found (which is fairly cumbersome) is to stage one of the file actions (i.e. 'delete' file or 'add' file), commit it, and then stage the other file action. This is the only way I can get it to work without crashing and messing up the rest of my Atom environment.
I was also able to reporduce this error with ubuntu 18.04.3 LTS with version:
. Another work around is to run