1

How do we prevent leading whitespace being added while Visual Studio 2015 touches files when merging branches.

Whitespace Shown in Stash

Example above is what is show in Stash during pull request.

kplates
  • 700
  • 1
  • 7
  • 16

1 Answers1

2

I don't have VS2015, but it looks like Unicode BOM. Search for option to add it in the VS editor configuration.

Here's how

max630
  • 8,762
  • 3
  • 30
  • 55