Ver a proveniência

Fixes dupes when searching for commits & stashes

main
Eric Amodio há 1 ano
ascendente
cometimento
d6984dd19e
2 ficheiros alterados com 3 adições e 2 eliminações
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -2
      src/git/parsers/logParser.ts

+ 1
- 0
CHANGELOG.md Ver ficheiro

@ -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 Ver ficheiro

@ -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);
}
}

Carregando…
Cancelar
Guardar