瀏覽代碼

Fixes dupes when searching for commits & stashes

main
Eric Amodio 1 年之前
父節點
當前提交
d6984dd19e
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -2
      src/git/parsers/logParser.ts

+ 1
- 0
CHANGELOG.md 查看文件

@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes an issue where the links in the _Search & Compare_ view failed to open the specific search type
- Fixes an issue when searching for commits and the results contain stashes
## [14.0.0] - 2023-06-14

+ 2
- 2
src/git/parsers/logParser.ts 查看文件

@ -809,6 +809,7 @@ export class GitLogParser {
stash.stashName,
stash.stashOnRef,
);
commits.set(stash.sha, commit);
} else {
commit = new GitCommit(
container,
@ -834,9 +835,8 @@ export class GitLogParser {
entry.line != null ? [entry.line] : [],
entry.tips,
);
commits.set(entry.sha!, commit);
}
commits.set(entry.sha!, commit);
}
}

Loading…
取消
儲存