|
@ -80,6 +80,8 @@ export class DiffWithWorkingCommand extends ActiveEditorCommand { |
|
|
const [workingFileName] = await Container.git.findWorkingFileName(gitUri.fsPath, gitUri.repoPath); |
|
|
const [workingFileName] = await Container.git.findWorkingFileName(gitUri.fsPath, gitUri.repoPath); |
|
|
if (workingFileName === undefined) return undefined; |
|
|
if (workingFileName === undefined) return undefined; |
|
|
|
|
|
|
|
|
|
|
|
args.commit.workingFileName = workingFileName; |
|
|
|
|
|
|
|
|
const diffArgs: DiffWithCommandArgs = { |
|
|
const diffArgs: DiffWithCommandArgs = { |
|
|
repoPath: args.commit.repoPath, |
|
|
repoPath: args.commit.repoPath, |
|
|
lhs: { |
|
|
lhs: { |
|
@ -88,7 +90,7 @@ export class DiffWithWorkingCommand extends ActiveEditorCommand { |
|
|
}, |
|
|
}, |
|
|
rhs: { |
|
|
rhs: { |
|
|
sha: '', |
|
|
sha: '', |
|
|
uri: args.commit.uri |
|
|
|
|
|
|
|
|
uri: args.commit.workingUri |
|
|
}, |
|
|
}, |
|
|
line: args.line, |
|
|
line: args.line, |
|
|
showOptions: args.showOptions |
|
|
showOptions: args.showOptions |
|
|