mirror of
https://github.com/curl/curl.git
synced 2026-06-07 18:04:18 +03:00
release-notes.pl: enable warnings, fix them
This commit is contained in:
parent
fbca901d39
commit
78b0ee0d84
1 changed files with 11 additions and 2 deletions
|
|
@ -54,7 +54,10 @@
|
|||
#
|
||||
################################################
|
||||
|
||||
my $cleanup = ($ARGV[0] eq "cleanup");
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $cleanup = (@ARGV && $ARGV[0] eq "cleanup");
|
||||
my @gitlog=`git log @^{/RELEASE-NOTES:.synced}..` if(!$cleanup);
|
||||
my @releasenotes=`cat RELEASE-NOTES`;
|
||||
|
||||
|
|
@ -120,6 +123,12 @@ sub extract {
|
|||
# false alarm, not a valid line
|
||||
}
|
||||
|
||||
my @fixes;
|
||||
my @closes;
|
||||
my @bug;
|
||||
my @line;
|
||||
my %moreinfo;
|
||||
|
||||
my $short;
|
||||
my $first;
|
||||
for my $l (@gitlog) {
|
||||
|
|
@ -167,7 +176,7 @@ if($first) {
|
|||
# call at the end of a parsed commit
|
||||
sub onecommit {
|
||||
my ($short)=@_;
|
||||
my $ref;
|
||||
my $ref = '';
|
||||
|
||||
if($dupe{$short}) {
|
||||
# this git commit message was found in the file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue