locked
TFS ignores whitespaces? RRS feed

  • Question

  • One of my developers showed me that TFS ignores whitespaces by default while doing the comparison? I tried myself and thats true. Is there someway where the whitespace differences could be highlighted?

    Here is what I did.

    I took a simple txt file and typed a string "This is test"

    I checked it in. Then checked it out and modified it to "Thisis test". Now after checkin, if I do a diff between the two changesets, I see the dialog box saying that files are identical.
    Monday, November 19, 2007 10:16 PM

Answers

  • Yes, the default configuration ignores whitespace.  To change this, follow James' article but leave off the /ignorespace option.
    Monday, November 19, 2007 10:22 PM