From 2d6fa68cef600436318d61f43d71ac600242026e Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 30 May 2008 13:39:32 +0200 Subject: [PATCH] corrected [sound] and sound: check in pre-receive --- hooks/alsa-kernel.git/pre-receive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = '' -- 2.47.1