diff --git a/src/git/git.ts b/src/git/git.ts index 6d678fd..d3a37b1 100644 --- a/src/git/git.ts +++ b/src/git/git.ts @@ -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'); }