]> git.alsa-project.org Git - alsa.git/commitdiff
modified pre-receive to accept [sound] too
authorJaroslav Kysela <perex@perex.cz>
Fri, 30 May 2008 11:37:49 +0000 (13:37 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 30 May 2008 11:37:49 +0000 (13:37 +0200)
hooks/alsa-kernel.git/pre-receive

index c93f308a8d257ba9059e27684f44c5810031524d..c88afa7c2f7761da531731de3302bde7f8ff3780 100755 (executable)
@@ -307,8 +307,9 @@ def do_check_commit(lines):
     #    exit(1)
     if not lines[6][4:].upper().startswith('[ALSA] ') and \
        not lines[6][4:].upper().startswith('ALSA: ') and \
+       not lines[6][4:].upper().startswith('[sound] ') and \
        not lines[6][4:].upper().startswith('sound: '):
-        error(lines, 'First log line does not start with "[ALSA] " or "ALSA: " or "SOUND: "\n')
+        error(lines, 'First log line does not start with "[ALSA] " or "ALSA: " or "[SOUND] " or "SOUND: "\n')
         fail()
     lastsigned = ''
     for line in lines[6:]: