From 2217161dfb962f5e70c7897589a9611454f609ae Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 23 Oct 2008 10:25:04 +0200 Subject: [PATCH] fixed pre-receive (: ) in header #2 --- hooks/alsa-kernel.git/pre-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/alsa-kernel.git/pre-receive b/hooks/alsa-kernel.git/pre-receive index 2c9407a..dce6997 100755 --- a/hooks/alsa-kernel.git/pre-receive +++ b/hooks/alsa-kernel.git/pre-receive @@ -290,7 +290,7 @@ def do_check_commit(lines): line.startswith('AuthorDate:') or line.startswith('Commit:') or \ line.startswith('CommitDate:'): a = line.split(': ') - commit[a[0].strip()] = ': '.join(a[1:]) + commit[a[0].strip()] = ': '.join(a[1:]).strip() elif line.startswith(' '): header = False if line.startswith(' '): -- 2.47.1