3 # git log --pretty=fuller --no-color --date=short --decorate=full
5 my @mname = ('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
6 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' );
11 if($date =~ /(\d\d\d\d)-(\d\d)-(\d\d)/) {
12 return sprintf("%d %s %4d", $3, $mname[$2-1], $1);
18 ' Changelog for the c-ares project. Generated with git2changes.pl
26 if($l =~/^commit ([[:xdigit:]]*) ?(.*)/) {
29 if ($ref =~ /refs\/tags\/c[-]*ares-([0-9._]*)/) {
36 elsif($l =~ /^Author: *(.*) +</) {
39 elsif($l =~ /^Commit: *(.*) +</) {
42 elsif($l =~ /^CommitDate: (.*)/) {
45 elsif($l =~ /^( )(.*)/) {
48 # Version entries have a special format
49 print "\nVersion " . $tag." ($date)\n";
54 $extra=sprintf("\n- [%s brought this change]\n\n ", $a);
61 print "\n$c ($date)$extra";