Disable git's pager.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user