0
我的問題:我經常要進行代碼審查和,因爲我們正在使用TFS我經常使用的命令工具用於可視化差異在多個文件
tf diff $/tfs/folder/path /version:C200~C300 /format:unified /recursive > C:\Temp\review.diff
這將產生格式的一個不錯的巨大差異文件:
+ public JsonResult InsertMinorsOfSecondLegalGuardian(LegalGuardiansDto legalGuardians)
{
familyBl.InsertMinorsForSecondLegalGuardianAction(legalGuardians.FirstId, legalGuardians.SecondId);
return Json(true);
===================================================================
File: FPAS\Controllers\MunicipalityController.cs
===================================================================
--- FPAS\Controllers\MunicipalityController.cs;2155 (server) 21.09.2012 14:44
+++ FPAS\Controllers\MunicipalityController.cs;2216 (server) 25.09.2012 13:28
@@ -25,7 +25,7 @@
}
// This can be used for filtering
- // GET: /Company?param1=abc¶m2=abcd...
+ // GET: /Municipality?param1=abc¶m2=abcd...
public JsonResult Filter(string indic)
{
if (String.IsNullOrEmpty(indic))
===================================================================
File: FPAS\Controllers\PersonController.cs
===================================================================
--- FPAS\Controllers\PersonController.cs;2143 (server) 21.09.2012 12:36
+++ FPAS\Controllers\PersonController.cs;2219 (server) 25.09.2012 13:47
@@ -25,21 +25,21 @@
}
// This can be used for filtering
- // GET: /Company?param1=abc¶m2=abcd...
+ // GET: /Person?param1=abc¶m2=abcd...
我的問題:是否有一個工具,它能夠讀取差異文件,並列出了所有這些所涉及的源文件分離的diff?我在想Github上的Windows工具:
嘿,這很酷,我實際上已經爲了另一個目的使用了這個視圖,但是不記得。 Thx的那個提示,+ 1的:)我仍然想看看是否有其他工具可以在我上面顯示的diff文件結構上工作。 Thx到目前爲止。 – Juri