Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f3c9690

Browse files
committed
fix: input lines may contain several commits
The first commit is always the immediate child, so take only 40 initial characters of the line
1 parent 88fb754 commit f3c9690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Commands/QueryCommitChildren.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public QueryCommitChildren(string repo, string commit, string filters)
1919
protected override void OnReadline(string line)
2020
{
2121
if (line.Contains(_commit))
22-
_lines.Add(line);
22+
_lines.Add(line.Substring(0,40));
2323
}
2424

2525
public IEnumerable<string> Result()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /