Disable git's pager.

This commit is contained in:
Matt Burke
2013-07-26 09:55:44 -04:00
parent 1626776e15
commit ffe0a0b7df
+1
View File
@@ -241,6 +241,7 @@ namespace Sep.Git.Tfs.Core
startInfo.SetArguments(command);
startInfo.CreateNoWindow = true;
startInfo.UseShellExecute = false;
startInfo.EnvironmentVariables.Add("GIT_PAGER", "cat");
RedirectStderr(startInfo);
initialize(startInfo);
Trace.WriteLine("Starting process: " + startInfo.FileName + " " + startInfo.Arguments, "git command");