diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-10-27 13:38:46 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-10-31 11:38:26 +0100 |
commit | 3ea0c581844689aba7e3d1f0effa285f332662f4 (patch) | |
tree | 80ec482573d41715c88e341b2eb810f3314c8257 /t/porting/authors.t | |
parent | 8a5e2fa65b2f0ee8789f46f37cae288ee0507c75 (diff) | |
download | perl-3ea0c581844689aba7e3d1f0effa285f332662f4.tar.gz |
t/porting/authors.t can send just the git log info needed by checkAUTHORS.pl
Using a custom pretty format to reduce the data passed drops the runtime by
about 25%. Admittedly small in absolute terms, but an easy change whose
gains will slowly accumulate.
Diffstat (limited to 't/porting/authors.t')
-rw-r--r-- | t/porting/authors.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/porting/authors.t b/t/porting/authors.t index f67e93094c..70565a3511 100644 --- a/t/porting/authors.t +++ b/t/porting/authors.t @@ -10,6 +10,7 @@ use strict; require 't/test.pl'; find_git_or_skip('all'); -system("git log --pretty=fuller | $^X Porting/checkAUTHORS.pl --tap -"); +# 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 <%cn>%n' | $^X Porting/checkAUTHORS.pl --tap -"); # EOF |