Bladeren bron

Fixes #238 - shows merge commits in file history

main
Eric Amodio 7 jaren geleden
bovenliggende
commit
4a59d980b1
2 gewijzigde bestanden met toevoegingen van 5 en 4 verwijderingen
  1. +1
    -0
      CHANGELOG.md
  2. +4
    -4
      src/git/git.ts

+ 1
- 0
CHANGELOG.md Bestand weergeven

@ -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 Bestand weergeven

@ -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)) {

Laden…
Annuleren
Opslaan