From 08683cf7c27694ad54a79799019061a15ea4b80d Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 30 May 2008 10:41:38 +0200 Subject: [PATCH] pre-receive - sound: prefix is allowed too --- hooks/alsa-kernel.git/pre-receive | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hooks/alsa-kernel.git/pre-receive b/hooks/alsa-kernel.git/pre-receive index e380905..f5bc5d4 100755 --- a/hooks/alsa-kernel.git/pre-receive +++ b/hooks/alsa-kernel.git/pre-receive @@ -305,8 +305,9 @@ def do_check_commit(lines): #if not check_email(lines, committer, commit=True): # exit(1) if not lines[6][4:].upper().startswith('[ALSA] ') and \ - not lines[6][4:].upper().startswith('ALSA: '): - error(lines, 'First log line does not start with "[ALSA] " or "ALSA: "\n') + not lines[6][4:].upper().startswith('ALSA: ') and \ + not lines[6][4:].upper().startswith('sound: '): + error(lines, 'First log line does not start with "[ALSA] " or "ALSA: " or "SOUND: "\n') fail() lastsigned = '' for line in lines[6:]: -- 2.47.1