Skip to content

Commit

Permalink
Script: Packaging: Add refs filtering cases to gitlog script
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier committed Jan 9, 2023
1 parent e1437fc commit cf6cea3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/scripts/packaging/gitlog.php
Expand Up @@ -147,7 +147,12 @@
if ($hasRefs = stripos($log['message'], ' -refs ')) {
$log['message'] = substr($log['message'], 0, $hasRefs);
}

if ($hasRefs = stripos($log['message'], ' - refs ')) {
$log['message'] = substr($log['message'], 0, $hasRefs);
}
if ($hasRefs = stripos($log['message'], ' '.$matches[0][0])) {
$log['message'] = substr($log['message'], 0, $hasRefs);
}
}
$commitLink = '';
if ($formatHTML) {
Expand Down

0 comments on commit cf6cea3

Please sign in to comment.