diff options
author | Sadie Powell <sadie@witchery.services> | 2021-03-05 00:36:13 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-03-05 00:36:13 +0000 |
commit | 338ddb0e59a918dc8e7654bc360a526187e5490c (patch) | |
tree | 4cd0c7535c5796a243c92a8bf1c07ac7ffdf51da | |
parent | cf343bdeafb890e89796e55553a7c3fd57fc9342 (diff) |
Ignore moved lines in mkheaders.
-rwxr-xr-x | tools/mkheaders | 2 |
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; |