Fixes typo in stash parsing

This commit is contained in:
Eric Amodio
2017-05-14 03:02:09 -04:00
parent dbdb77c2c1
commit 27425e3deb

View File

@@ -119,7 +119,7 @@ export class GitStashParser {
const entry = entries[i];
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;
commits.set(entry.sha, commit);
}