975
*/
976
export function parseGitDiffRawNumstat(output: string, repositoryRoot: URI, sessionUri: string, beforeRef: string, afterRef?: string): ISessionFileDiff[] {
978
>
const changes: { kind: FileEditKind; oldPath?: string; newPath?: string }[] = [];
979
>
const numStats = new Map<string, { added: number; removed: number }>();
980
>
981
>
let i = 0;
982
>
while (i < segments.length) {
983
>
const segment = segments[i++];
984
>
if (!segment) { continue; }
985
986
if (segment.startsWith(':')) {