style<Exceptions>: limit max height of error message

This commit is contained in:
leo 2021-07-14 12:43:53 +08:00
parent c165cab3c0
commit 208af69ea1
2 changed files with 12 additions and 2 deletions

View file

@ -68,7 +68,7 @@ namespace SourceGit.Commands {
if (!string.IsNullOrEmpty(Cwd)) start.WorkingDirectory = Cwd;
var progressFilter = new Regex(@"\d+\%");
var progressFilter = new Regex(@"\s\d+%\s");
var errs = new List<string>();
var proc = new Process() { StartInfo = start };
var isCancelled = false;