Move print inside the if statement.

This commit is contained in:
Bradley M. Kuhn 2016-04-28 15:22:55 -07:00
parent 80da332beb
commit 9ed0147eed

View file

@ -46,8 +46,8 @@ while ( my $gitLog = $logIterator->next() ) {
if ($author =~ /$AUTHOR_NAME_REGEX/im or (defined $LOG_MESSAGE_REGEX and $message =~ /$LOG_MESSAGE_REGEX/im)) { if ($author =~ /$AUTHOR_NAME_REGEX/im or (defined $LOG_MESSAGE_REGEX and $message =~ /$LOG_MESSAGE_REGEX/im)) {
print STDERR "Including: ", $gitLog->commit(), "\n", "Author: $author", "\n\n", $message, "#" x 72, "\n" print STDERR "Including: ", $gitLog->commit(), "\n", "Author: $author", "\n\n", $message, "#" x 72, "\n"
if $VERBOSE; if $VERBOSE;
print $gitLog->commit(), "\n";
} }
print $gitLog->commit(), "\n";
} }
# #