Permalink
Browse files

log2changes.pl: fix the Version output

Previously it could easily wrongly get repeated
  • Loading branch information...
1 parent 04ca9ae commit d2fc8b4a5f53ce638cacae56375b120c0a687978 @bagder bagder committed Jun 7, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 log2changes.pl
View
@@ -35,8 +35,6 @@ sub nicedate {
if ($ref =~ /refs\/tags\/curl-([0-9_]*)/) {
$tag = $1;
$tag =~ tr/_/./;
- } else {
- $tag = '';
}
}
elsif($l =~ /^Author: *(.*) +</) {
@@ -54,6 +52,7 @@ sub nicedate {
# Version entries have a special format
print "\nVersion " . $tag." ($date)\n";
$oldc = "";
+ $tag = "";
}
if($a ne $c) {
$extra=sprintf("\n- [%s brought this change]\n\n ", $a);

0 comments on commit d2fc8b4

Please sign in to comment.