Skip to content

Commit 5b6bd08

Browse files
authored
fix(scripts): follow renames in generate-authors script (#2536)
1 parent 4bb7ca1 commit 5b6bd08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate-authors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const packageRootPath = path.resolve(__dirname, '..');
1616
function getAuthorsGitLog(packagePath: string): string[] {
1717
return execFileSync(
1818
'git',
19-
['log', '--reverse', '--format=%aN <%aE>', '--use-mailmap', '--', packagePath],
19+
['log', '--reverse', '--format=%aN <%aE>', '--use-mailmap', '--find-renames', '--find-copies', '--follow', '--', packagePath],
2020
{ cwd: packageRootPath }
2121
).toString().trim().split('\n');
2222
}

0 commit comments

Comments
 (0)