From: Ævar Arnfjörð Bjarmason Date: Thu, 15 Apr 2010 13:40:33 +0000 (+0200) Subject: Simplify the perldelta howto by using Git features X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=208edbfe01f1e20448c7416e83a314e3969961c9;p=p5sagit%2Fp5-mst-13.2.git Simplify the perldelta howto by using Git features `git-log' can generate a list of authors without perl's help and `git-diff` can produce a diffstat without diffstat(1). --- diff --git a/Porting/how_to_write_a_perldelta.pod b/Porting/how_to_write_a_perldelta.pod index 5a55095..6cae763 100644 --- a/Porting/how_to_write_a_perldelta.pod +++ b/Porting/how_to_write_a_perldelta.pod @@ -302,11 +302,11 @@ The list of people to thank goes here. You can find the list of committers and authors by: - % git log v5.11.1..HEAD | perl -nlwe '$seen{$1}++ if /^Author: ([^<]*)/; END { print for sort keys %seen }' + % git log --pretty='format:%an' v5.11.1..HEAD | sort | uniq And how many files where changed by: - % git diff v5.11.1..HEAD | diffstat + % git diff --stat=200,200 v5.11.1..HEAD =item Reporting Bugs