mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
enhance: remove nextPartIdx bound check
This commit is contained in:
parent
9e45a8a77d
commit
4ec93b9d75
1 changed files with 1 additions and 1 deletions
|
@ -51,13 +51,13 @@ namespace SourceGit.Commands
|
|||
break;
|
||||
case 7:
|
||||
_current.Subject = line;
|
||||
nextPartIdx = -1;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
nextPartIdx++;
|
||||
if (nextPartIdx == 8) nextPartIdx = 0;
|
||||
|
||||
start = end + 1;
|
||||
end = rs.StdOut.IndexOf('\n', start);
|
||||
|
|
Loading…
Reference in a new issue