Before we get started on Tree Difference customization, I would like to bring forth some known bugs and their work-arounds. The bugs and their work-arounds are discussed in these blog postings:
With the bugs out of the way, let's talk about customizing the Tree Difference.
Tree Difference uses a couple of registry keys. Except for the View Options, all other settings are only available via direct access to the registry.
There is one more setting that is available from Visual Studio Tools > Options > Team Foundation Server Power Toys > General. In this page, there are actually two settings: one for Annotate and the other for Tree Difference. Setting the Tree Difference value to False disables the Tree Difference feature in Visual Studio. Once disabled, the tree difference context menu item in Source Control Explorer will no longer be visible.
This wraps up Tree Difference customization. Stay tuned!