From 2a3b1ba9d715775bb326f258157cf49f1f29a03d Mon Sep 17 00:00:00 2001 From: Linquize Date: Sat, 31 Aug 2013 19:41:04 +0800 Subject: [PATCH 1/2] Should be TortoiseGit --- src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs b/src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs index ee8f962536..3ed3268ed5 100644 --- a/src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs +++ b/src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs @@ -12,7 +12,7 @@ namespace ICSharpCode.GitAddIn { /// /// Wraps commands opening a dialog window. - /// The current implementation launches TortoiseSVN. + /// The current implementation launches TortoiseGit. /// public static class GitGuiWrapper { From d21efc749454945b5f0cdc5cf111e696521f85b2 Mon Sep 17 00:00:00 2001 From: Linquize Date: Sat, 31 Aug 2013 19:43:27 +0800 Subject: [PATCH 2/2] Drop commented code --- src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs b/src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs index 3ed3268ed5..8725f48cde 100644 --- a/src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs +++ b/src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs @@ -65,20 +65,12 @@ namespace ICSharpCode.GitAddIn Process p = new Process(); p.StartInfo.FileName = path; p.StartInfo.Arguments = arguments.ToString(); - //p.StartInfo.RedirectStandardError = true; - //p.StartInfo.RedirectStandardOutput = true; p.StartInfo.UseShellExecute = false; p.EnableRaisingEvents = true; p.Exited += delegate { p.Dispose(); if (callback != null) { ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.SafeThreadAsyncCall(callback); } }; -// p.OutputDataReceived += delegate(object sender, DataReceivedEventArgs e) { -// SvnClient.Instance.SvnCategory.AppendText(e.Data); -// }; -// p.ErrorDataReceived += delegate(object sender, DataReceivedEventArgs e) { -// SvnClient.Instance.SvnCategory.AppendText(e.Data); -// }; p.Start(); } catch (Exception ex) { MessageService.ShowError(ex.Message);