Alexander Galkin
Alexander Galkin

Reputation: 12534

Remove unchanged (content same) from pending files list in Visual Studio?

This is not a duplicate of an existing and answered question, like this one.

It is well known that VS pending files list shows all checked-out files, some of them might have no edits at all. And the recommended solution to remove those files without an edit is to run a TFS Power Tools command, as answered here.

However, this doesn't apply to the files that were changed (by a mistake, or on a purpose), but the change was manually reverted. In other words, if the content of two files is binary (or literally) the same, the "Undo Unchanged" command might still think the file has changed and does not remove it from the list.

Is there any way to force TFS PT to perform content-based comparison for pending files vs. latest server version?

Upvotes: 2

Views: 741

Answers (1)

Daniel Mann
Daniel Mann

Reputation: 59016

Use local workspaces instead of server workspaces (on VS/TFS 2012 or later). With local workspaces, the only things that show up in the "Pending Changes" window are actual modified files.

Upvotes: 3

Related Questions