From: Jaroslav Kysela Date: Fri, 30 May 2008 11:39:32 +0000 (+0200) Subject: corrected [sound] and sound: check in pre-receive X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2d6fa68cef600436318d61f43d71ac600242026e;p=alsa.git corrected [sound] and sound: check in pre-receive --- diff --git a/hooks/alsa-kernel.git/pre-receive b/hooks/alsa-kernel.git/pre-receive index c88afa7..7f96fd1 100755 --- a/hooks/alsa-kernel.git/pre-receive +++ b/hooks/alsa-kernel.git/pre-receive @@ -307,8 +307,8 @@ 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: '): + 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] " or "SOUND: "\n') fail() lastsigned = ''