<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>open a file and modify it</li>
<li>revert modification with git (eg: git checkout {file})</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.196.0<br>
<strong>System</strong>: linux 3.13.0-52-generic<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: ENOENT: no such file or directory, open '/home/myagoo/dev/workspace/project-eyelo/lib/prolo-eyelo/src/modules/wanDashboard/wanDashboard.controller.js'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:141

Error: ENOENT: no such file or directory, open '/home/myagoo/dev/workspace/project-eyelo/lib/prolo-eyelo/src/modules/wanDashboard/wanDashboard.controller.js'
  at Error (native)
"><pre class="notranslate"><code class="notranslate">At events.js:141

Error: ENOENT: no such file or directory, open '/home/myagoo/dev/workspace/project-eyelo/lib/prolo-eyelo/src/modules/wanDashboard/wanDashboard.controller.js'
  at Error (native)

</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="     -3:02.5.0 editor:newline (atom-text-editor.editor)
     -3:02.3.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
     -3:02.3.0 editor:newline (atom-text-editor.editor)
     -3:00.3.0 core:backspace (atom-text-editor.editor)
  2x -3:00.1.0 core:delete (atom-text-editor.editor)
  3x -2:58.9.0 core:backspace (atom-text-editor.editor)
     -2:52.6.0 core:save (atom-text-editor.editor)
     -2:20.7.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
     -2:20.7.0 editor:newline (atom-text-editor.editor)
  2x -2:16.4.0 core:copy (atom-text-editor.editor)
     -2:14.5.0 core:paste (atom-text-editor.editor)
  2x -2:14 core:move-right (atom-text-editor.editor)
  3x -2:11 core:save (atom-text-editor.editor)
     -0:42.2.0 core:backspace (atom-text-editor.editor)
  2x -0:41.5.0 core:save (atom-text-editor.editor)
  4x -0:11.9.0 core:undo (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate">     -3:02.5.0 editor:newline (atom-text-editor.editor)
     -3:02.3.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
     -3:02.3.0 editor:newline (atom-text-editor.editor)
     -3:00.3.0 core:backspace (atom-text-editor.editor)
  2x -3:00.1.0 core:delete (atom-text-editor.editor)
  3x -2:58.9.0 core:backspace (atom-text-editor.editor)
     -2:52.6.0 core:save (atom-text-editor.editor)
     -2:20.7.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
     -2:20.7.0 editor:newline (atom-text-editor.editor)
  2x -2:16.4.0 core:copy (atom-text-editor.editor)
     -2:14.5.0 core:paste (atom-text-editor.editor)
  2x -2:14 core:move-right (atom-text-editor.editor)
  3x -2:11 core:save (atom-text-editor.editor)
     -0:42.2.0 core:backspace (atom-text-editor.editor)
  2x -0:41.5.0 core:save (atom-text-editor.editor)
  4x -0:11.9.0 core:undo (atom-text-editor.editor)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;followSymlinks&quot;: true,
    &quot;disabledPackages&quot;: [
      &quot;linter-jshint&quot;,
      &quot;merge-conflicts&quot;
    ],
    &quot;autoHideMenuBar&quot;: true
  },
  &quot;editor&quot;: {
    &quot;showInvisibles&quot;: true,
    &quot;showIndentGuide&quot;: true,
    &quot;tabLength&quot;: 4,
    &quot;invisibles&quot;: {}
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"followSymlinks"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"disabledPackages"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>linter-jshint<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>merge-conflicts<span class="pl-pds">"</span></span>
    ],
    <span class="pl-ent">"autoHideMenuBar"</span>: <span class="pl-c1">true</span>
  },
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"showInvisibles"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</span>,
    <span class="pl-ent">"invisibles"</span>: {}
  }
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
angularjs, v0.1.0
atom-beautify, v0.27.0
color-picker, v1.7.0
editorconfig, v1.0.0
emmet, v2.3.8
file-icons, v1.5.5
local-history, v3.1.0
minimap, v4.8.0
project-manager, v1.15.5
react, v0.11.8

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
angularjs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
atom<span class="pl-k">-</span>beautify, v0.<span class="pl-ii">27</span>.<span class="pl-ii">0</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">7</span>.<span class="pl-ii">0</span>
editorconfig, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
emmet, v2.<span class="pl-ii">3</span>.<span class="pl-ii">8</span>
file<span class="pl-k">-</span>icons, v1.<span class="pl-ii">5</span>.<span class="pl-ii">5</span>
local<span class="pl-k">-</span>history, v3.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
minimap, v4.<span class="pl-ii">8</span>.<span class="pl-ii">0</span>
project<span class="pl-k">-</span>manager, v1.<span class="pl-ii">15</span>.<span class="pl-ii">5</span>
react, v0.<span class="pl-ii">11</span>.<span class="pl-ii">8</span>

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">Some repro steps that I gathered from the existing issues:</p>
<ol dir="auto">
<li>Have a file open in branch <code class="notranslate">something</code> that doesn't exist in branch <code class="notranslate">atom</code></li>
<li><code class="notranslate">git checkout atom</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="boom" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png">💥</g-emoji><br>
OR</li>
<li>Have a file open in Atom that will be affected by <code class="notranslate">git rebase</code></li>
<li><code class="notranslate">git rebase</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="-1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png">👎</g-emoji><br>
OR<br>
Just simply rename a file outside of Atom that's currently open inside of Atom.</li>
</ol>