summaryrefslogtreecommitdiff
path: root/git-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks/sanitize-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit
index 58e8381..6d1d54a 100755
--- a/git-hooks/sanitize-commit
+++ b/git-hooks/sanitize-commit
@@ -318,7 +318,7 @@ while (<HEADS>) {
}
if ($name =~ m,/dev$,) {
$foundDev = 1;
- } elsif ($name =~ m,/(\d+(?:\.\d+)+)$,) {
+ } elsif ($name =~ m,/((?:(?:tqtc/)?lts-)?\d+(?:\.\d+)+)$,) {
my $branch = $1;
ONCE: while (1) {
foreach my $lts (@LTS) {