开发者

TFS compare options

开发者 https://www.devze.com 2023-02-02 07:14 出处:网络
Is there an option in TFS to compare while not returning whitespace differences? ie. linebreaks, tabs set differently.

Is there an option in TFS to compare while not returning whitespace differences? ie. linebreaks, tabs set differently.

开发者_开发问答SourceSafe had this option, but I cannot find it in TFS.


Yes.

Tools -> Options -> Source Control -> Visual Studio Team Foundation Server -> Configure Users Tools.. ->

Add "%5 /ignorespace" to the arguments as per this post: Whitespace in Team System Compare Results

[You can run diffmerge /? to see other options]

A somewhat better option (IMO) is to replace the out-of-the-box diff tool with the free SourceGear DiffMerge tool, or with BeyondCompare.

If you opt to use the SourceGear's tool, then the command line options (as of 8/17/2011) for Studio 2010 is:

-caption=%1 -nosplash -ro2 -shex -t1=%6 -t2=%7 %1 %2 

For the merge, remove the -ro2 (readonly) option

0

精彩评论

暂无评论...
验证码 换一张
取 消