From: Jaroslav Kysela Date: Thu, 23 Oct 2008 08:22:17 +0000 (+0200) Subject: fixed pre-receive (: ) in header X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=25e242d25ff775986e5fe534de649bb6b00db1f6;p=alsa.git fixed pre-receive (: ) in header --- diff --git a/hooks/alsa-kernel.git/pre-receive b/hooks/alsa-kernel.git/pre-receive index 086bec6..2c9407a 100755 --- a/hooks/alsa-kernel.git/pre-receive +++ b/hooks/alsa-kernel.git/pre-receive @@ -289,8 +289,8 @@ def do_check_commit(lines): elif line.startswith('Merge:') or line.startswith('Author:') or \ line.startswith('AuthorDate:') or line.startswith('Commit:') or \ line.startswith('CommitDate:'): - a, b = line.split(': ') - commit[a.strip()] = b.strip() + a = line.split(': ') + commit[a[0].strip()] = ': '.join(a[1:]) elif line.startswith(' '): header = False if line.startswith(' '):