瀏覽代碼

Fixes typo in stash parsing

main
Eric Amodio 7 年之前
父節點
當前提交
27425e3deb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/git/parsers/stashParser.ts

+ 1
- 1
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);
}

Loading…
取消
儲存