We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16053ab commit 30f7ff2Copy full SHA for 30f7ff2
src/model.ts
@@ -248,7 +248,7 @@ export class GitExtension implements IGitExtension {
248
249
getFile(path: string): Git.IStatusFile {
250
const matchingFiles = this._status.files.filter(status => {
251
- return status.to === path;
+ return this.getRelativeFilePath(status.to) === path;
252
});
253
if (matchingFiles.length === 0) {
254
return;
0 commit comments