From 533a69a998b14b2018982b3d399c95d73002f52f Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Wed, 17 Sep 2025 03:56:54 +0200 Subject: [PATCH] fix(scripts): follow renames in generate-authors script --- scripts/generate-authors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-authors.ts b/scripts/generate-authors.ts index 8b49cb734c..623757464a 100644 --- a/scripts/generate-authors.ts +++ b/scripts/generate-authors.ts @@ -16,7 +16,7 @@ const packageRootPath = path.resolve(__dirname, '..'); function getAuthorsGitLog(packagePath: string): string[] { return execFileSync( 'git', - ['log', '--reverse', '--format=%aN <%aE>', '--use-mailmap', '--', packagePath], + ['log', '--reverse', '--format=%aN <%aE>', '--use-mailmap', '--find-renames', '--find-copies', '--follow', '--', packagePath], { cwd: packageRootPath } ).toString().trim().split('\n'); }