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 Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Modifying files outside of Atom creates ENOENT errors #6210
No on latest master.
My steps: mkdir gittest git init nano test (input test into it, then save and close) git add test git commit -m "Initial commit"
Open test up in Atom git checkout -b test rm test git add test git commit -m "Remove test" git checkout master
Nothing happened, though I did notice that the close icon doesn't change into the "unsaved changes" icon until you make a change within the file.
changed the title [-]Git commands cause ENOENT/EPERM errors when they modify files currently open in Atom[/-][+]Modifying files outside of Atom creates ENOENT errors[/+]on Apr 13, 2015
Just updated the title and description to better describe what's happening.
I still can't reproduce this though even with the new steps provided in #6361.
Repro steps from @halhenke (haven't tested these):
1 Open a new tab in a window associated with a saved project
2 Save the contents as a new file
3 Leave the tab open & close the window/project (you can leave Atom itself running)
4 Delete the file (its importnant that you close the window/project first - otherwise Atom keeps track of the files relocation to the Trash).
5 Reopen the project. You should have errors about the file being missing.
I'm needing to 'git rebase' regularly in order to squash commits. Having files open in Atom during that process results in Atom and/or the git-diff package getting very confused resulting in an inaccurate representation of changes.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
benogle commentedon Apr 1, 2015
Are you able to reproduce these?
winstliu commentedon Apr 1, 2015
No on latest master.
My steps:
mkdir gittestgit initnano test(inputtestinto it, then save and close)git add testgit commit -m "Initial commit"Open
testup in Atomgit checkout -b testrm testgit add testgit commit -m "Remove test"git checkout masterNothing happened, though I did notice that the close icon doesn't change into the "unsaved changes" icon until you make a change within the file.
[-]Git commands cause ENOENT/EPERM errors when they modify files currently open in Atom[/-][+]Modifying files outside of Atom creates ENOENT errors[/+]winstliu commentedon Apr 13, 2015
Just updated the title and description to better describe what's happening.
I still can't reproduce this though even with the new steps provided in #6361.
iclanzan commentedon Apr 15, 2015
Man, this issue is annoying me. Whenever I want to switch branches, I first have to close all open files in atom to work around it.
I’m on Atom 0.191.0.
iclanzan commentedon Apr 15, 2015
I tried to build a reduced test case like the one you described above, but can’t reproduce the bug, yet it is happening in all my projects.
benogle commentedon Apr 15, 2015
:( What system? I still have never seen this
iclanzan commentedon Apr 15, 2015
I’m on OS X Yosemite (10.10.3).
winstliu commentedon Apr 17, 2015
Repro steps from @halhenke (haven't tested these):
1 Open a new tab in a window associated with a saved project
2 Save the contents as a new file
3 Leave the tab open & close the window/project (you can leave Atom itself running)
4 Delete the file (its importnant that you close the window/project first - otherwise Atom keeps track of the files relocation to the Trash).
5 Reopen the project. You should have errors about the file being missing.
iclanzan commentedon Apr 17, 2015
@50Wliu I have tried the above steps and they indeed trigger the error.
mattcollier commentedon Jul 20, 2015
I'm needing to 'git rebase' regularly in order to squash commits. Having files open in Atom during that process results in Atom and/or the git-diff package getting very confused resulting in an inaccurate representation of changes.
winstliu commentedon May 12, 2016
This seems to have been fixed as there haven't been any more reports.
If anyone is still experiencing this issue please comment here.
eboujlal commentedon Aug 16, 2017
Same issue
lock commentedon Mar 31, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!