Browse Source

Merge d21efc7494 into ba372efbff

pull/65/merge
linquize 8 years ago committed by GitHub
parent
commit
6c77642d8e
  1. 10
      src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs

10
src/AddIns/VersionControl/GitAddIn/Src/GitGuiWrapper.cs

@ -29,7 +29,7 @@ namespace ICSharpCode.GitAddIn
{ {
/// <summary> /// <summary>
/// Wraps commands opening a dialog window. /// Wraps commands opening a dialog window.
/// The current implementation launches TortoiseSVN. /// The current implementation launches TortoiseGit.
/// </summary> /// </summary>
public static class GitGuiWrapper public static class GitGuiWrapper
{ {
@ -82,8 +82,6 @@ namespace ICSharpCode.GitAddIn
Process p = new Process(); Process p = new Process();
p.StartInfo.FileName = path; p.StartInfo.FileName = path;
p.StartInfo.Arguments = arguments.ToString(); p.StartInfo.Arguments = arguments.ToString();
//p.StartInfo.RedirectStandardError = true;
//p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.UseShellExecute = false; p.StartInfo.UseShellExecute = false;
p.EnableRaisingEvents = true; p.EnableRaisingEvents = true;
p.Exited += delegate { p.Exited += delegate {
@ -92,12 +90,6 @@ namespace ICSharpCode.GitAddIn
SD.MainThread.InvokeAsyncAndForget(callback); SD.MainThread.InvokeAsyncAndForget(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(); p.Start();
} catch (Exception ex) { } catch (Exception ex) {
MessageService.ShowError(ex.Message); MessageService.ShowError(ex.Message);

Loading…
Cancel
Save