mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-24 03:45:00 +00:00
fix: input lines may contain several commits
The first commit is always the immediate child, so take only 40 initial characters of the line
This commit is contained in:
parent
88fb754415
commit
f3c9690d47
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ namespace SourceGit.Commands
|
|||
protected override void OnReadline(string line)
|
||||
{
|
||||
if (line.Contains(_commit))
|
||||
_lines.Add(line);
|
||||
_lines.Add(line.Substring(0, 40));
|
||||
}
|
||||
|
||||
public IEnumerable<string> Result()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue