Sfoglia il codice sorgente

Fixes #238 - shows merge commits in file history

main
Eric Amodio 7 anni fa
parent
commit
4a59d980b1
2 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. +1
    -0
      CHANGELOG.md
  2. +4
    -4
      src/git/git.ts

+ 1
- 0
CHANGELOG.md Vedi File

@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes issue where the `GitLens Results` view wouldn't properly update when replacing existing results
- Fixes issue where showing commit search (file-based) results in the `GitLens Results` view wouldn't only show the matching files -- closes [#197](https://github.com/eamodio/vscode-gitlens/issues/197)
- Fixes [#238](https://github.com/eamodio/vscode-gitlens/issues/238) - Show merge commits in file history
## [7.2.0] - 2018-01-01
### Added

+ 4
- 4
src/git/git.ts Vedi File

@ -382,12 +382,12 @@ export class Git {
if (options.skipMerges) {
params.push('--no-merges');
}
// If we are looking for a specific sha don't simplify merges
else if (!options.ref || options.maxCount! > 2) {
params.push('--simplify-merges');
}
else {
params.push('-m');
// If we are looking for a specific sha don't simplify merges
if (!options.ref || options.maxCount! > 2) {
params.push('--simplify-merges');
}
}
if (options.ref && !Git.isStagedUncommitted(options.ref)) {

Caricamento…
Annulla
Salva