title: EGit and Eclipse modifies .gitignore file but it should not
body: <p>I'm using Eclipse and EGit, but Eclipse modifies my <em>.gitignore</em> file without me asking to do so. As soon as I open Eclipse the <em>.gitignore</em> file is modified.</p>
  
  <p>I've added some folders to <em>.gitignore</em> (through EGit) but removed them after, but Eclipse keeps adding removed lines to <em>.gitignore</em>.</p>
  
  <ol>
  <li><code>git checkout .gitignore</code>, I get the good version of the file</li>
  <li>Then I go to Eclipse window</li>
  <li>Then I go back to terminal and issue: <code>git status</code>, </li>
  <li>I can see that .gitignore is now modified.</li>
  </ol>
  
  <p>How can it be? </p>