From 27425e3deb4cc10f1ca3f149e635bc3c5c0c5cea Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 14 May 2017 03:02:09 -0400 Subject: [PATCH] Fixes typo in stash parsing --- src/git/parsers/stashParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git/parsers/stashParser.ts b/src/git/parsers/stashParser.ts index ede6c19..ba355b0 100644 --- a/src/git/parsers/stashParser.ts +++ b/src/git/parsers/stashParser.ts @@ -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); }