Quellcode durchsuchen

Fixes diff w/prev from diff view w/working changes

main
Eric Amodio vor 5 Jahren
Ursprung
Commit
b6a1b928f1
1 geänderte Dateien mit 6 neuen und 4 gelöschten Zeilen
  1. +6
    -4
      src/git/gitService.ts

+ 6
- 4
src/git/gitService.ts Datei anzeigen

@ -1748,10 +1748,12 @@ export class GitService implements Disposable {
};
}
else if (status.workingTreeStatus !== undefined) {
return {
current: GitUri.fromFile(fileName, repoPath, undefined),
previous: await this.getPreviousUri(repoPath, uri, undefined, skip)
};
if (skip === 0) {
return {
current: GitUri.fromFile(fileName, repoPath, undefined),
previous: await this.getPreviousUri(repoPath, uri, undefined, skip)
};
}
}
}
else if (skip === 0) {

Laden…
Abbrechen
Speichern