Browse Source

Use --first-parent for log with --follow

Removes bogus merge commits that can show up in the history
main
Eric Amodio 4 years ago
parent
commit
32b2bdb8b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/git/git.ts

+ 1
- 1
src/git/git.ts View File

@ -804,7 +804,7 @@ export namespace Git {
params.push(`--diff-filter=${filters.join(emptyStr)}`);
}
if (firstParent) {
if ((all !== true && renames) || firstParent) {
params.push('--first-parent');
}

Loading…
Cancel
Save