summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mkheaders2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkheaders b/tools/mkheaders
index ef5302cfa..1bce53742 100755
--- a/tools/mkheaders
+++ b/tools/mkheaders
@@ -71,7 +71,7 @@ for my $path (@paths) {
say console_format "Updating copyright headers in <|GREEN $path|>." if defined $ENV{MKHEADERS_VERBOSE};
my (%author, %authors);
my $ignored_args = join ' ', map { "--ignore-rev $_" } @ignored_revisions;
- for my $line (split /\n+/, `git blame $ignored_args --incremental -w HEAD -- $path`) {
+ for my $line (split /\n+/, `git blame $ignored_args --incremental -M -w HEAD -- $path`) {
if ($line =~ /^([0-9a-f]{40})(?:\s\d+){3}$/) {
$author{COMMITS} //= [];
push @{$author{COMMITS}}, $1;