Fahad Mullaji
Fahad Mullaji

Reputation: 1422

Compare files shows unchanged files TFS

I am trying to compare two branches on TFS and TFS is showing files which do not have any differences.

I tried taking latest and resolving conflicts but that did not help. I don't know what's the problem.

enter image description here

enter image description here

What else can I do to make it go away?

Upvotes: 1

Views: 267

Answers (1)

Jimmy
Jimmy

Reputation: 28386

You probably need to turn off the option to trim whitespace, which can be found on the Compare Files toolbar:

Compare Files toolbar

You can also toggle Edit -> Advanced -> View Whitespace to see which ones are spaces vs. tabs, which on my machine has 3 separate keyboard mappings:

  • Ctrl+E, S
  • Ctrl+E, Ctrl+S
  • Ctrl+R, Ctrl+W

(You can remap this if you want by going to Tools -> Options -> Environment -> Keyboard.)

Upvotes: 3

Related Questions