]> git.alsa-project.org Git - alsa.git/commitdiff
pre-receive - sound: prefix is allowed too
authorJaroslav Kysela <perex@perex.cz>
Fri, 30 May 2008 08:41:38 +0000 (10:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 30 May 2008 08:41:38 +0000 (10:41 +0200)
hooks/alsa-kernel.git/pre-receive

index e380905cc559f84672f452aa2843ad64af81ed5d..f5bc5d481075d7d07db2901dc3edb17a80fcf8b9 100755 (executable)
@@ -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:]: