summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-02-15 16:11:42 +0100
committerNicholas Clark <nick@ccl4.org>2012-02-18 23:19:44 +0100
commite96f98077aa4fa23828c35dca17b80c39499be0b (patch)
tree52446a0f7534cad3a4e43a0bc5ca731f186e9917
parentcf6f994f080ec94d5fd0dad3971c68b1cff5e33a (diff)
downloadperl-e96f98077aa4fa23828c35dca17b80c39499be0b.tar.gz
t/porting/authors.t only needs to pass the Author to checkAUTHORS.pl
Commit 3ea0c581844689ab didn't go far enough in pruning the input. When Porting/checkAUTHORS.pl is invoked with --tap it uses parse_commits_from_stdin_authors() instead of parse_commits_from_stdin(), which only looks for lines matching /^Author:/ This reduces runtime by a further 8%.
-rw-r--r--t/porting/authors.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/porting/authors.t b/t/porting/authors.t
index 2e78f92c5d..6685468ef7 100644
--- a/t/porting/authors.t
+++ b/t/porting/authors.t
@@ -11,6 +11,6 @@ require 't/test.pl';
find_git_or_skip('all');
# This is the subset of "pretty=fuller" that checkAUTHORS.pl actually needs:
-system("git log --pretty=format:'commit %H%nAuthor: %an <%ae>%nAuthor Date:%nCommit: %cn <%ce>%n' | $^X Porting/checkAUTHORS.pl --tap -");
+system("git log --pretty=format:'Author: %an <%ae>%n' | $^X Porting/checkAUTHORS.pl --tap -");
# EOF