title: Git commit removes line breaks
body: <p>Hi I've a problem commiting a file in VSCode (1.30.1) using git source control (2.19.1.windows.1). The commit changes a file, I did not change and want not to be changed. The setup is the following: I am on Windows 10, having git configured with "checkout windows style, commit unix style" <code>git config --global core.autocrlf true</code>. But when I commit the following happens.</p>
  
  <p>It is a .json file with the following key:</p>
  
  <pre><code>{
    "description":
      "xxxxxxx"
  },
  </code></pre>
  
  <p>but my commit turns this line into</p>
  
  <pre><code>{
    "description": "xxxxxxx"
  },
  </code></pre>
  
  <p>Tested <code>core.autocrlf input</code> and <code>false</code>. But that does not fix that issue. Didn't face that behaviour before. Any other suggestions or ideas? Thanks and cheers.</p>
  
  <hr>
  
  <p><strong>Update</strong>: Another example</p>
  
  <p>Creating a test.json file containing</p>
  
  <pre><code>{
    "test1": {},
    "test2": {}
  }
  </code></pre>
  
  <p>works perfectly, but adding a new line like</p>
  
  <pre><code>{
    "test1": {
    },
    "test2": {}
  }
  </code></pre>
  
  <p>will look like the first one after commiting. It seems like a styling issue in some way, not depending on editor or system, because other repos are working as expected.</p>