mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-12 02:58:32 -05:00
Fixes typo in stash parsing
This commit is contained in:
@@ -119,7 +119,7 @@ export class GitStashParser {
|
|||||||
const entry = entries[i];
|
const entry = entries[i];
|
||||||
|
|
||||||
let commit = commits.get(entry.sha);
|
let commit = commits.get(entry.sha);
|
||||||
if (commit !== undefined) {
|
if (commit === undefined) {
|
||||||
commit = new GitStashCommit(entry.stashName, repoPath, entry.sha, entry.fileNames, moment(entry.date).toDate(), entry.summary, undefined, entry.fileStatuses) as GitStashCommit;
|
commit = new GitStashCommit(entry.stashName, repoPath, entry.sha, entry.fileNames, moment(entry.date).toDate(), entry.summary, undefined, entry.fileStatuses) as GitStashCommit;
|
||||||
commits.set(entry.sha, commit);
|
commits.set(entry.sha, commit);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user