From: Jaroslav Kysela Date: Fri, 30 May 2008 08:41:38 +0000 (+0200) Subject: pre-receive - sound: prefix is allowed too X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=08683cf7c27694ad54a79799019061a15ea4b80d;p=alsa.git pre-receive - sound: prefix is allowed too --- 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:]: