]> git.alsa-project.org Git - alsa.git/commitdiff
fixed pre-receive (: ) in header
authorJaroslav Kysela <perex@perex.cz>
Thu, 23 Oct 2008 08:22:17 +0000 (10:22 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 23 Oct 2008 08:22:17 +0000 (10:22 +0200)
hooks/alsa-kernel.git/pre-receive

index 086bec63427863fe667a90437ccf07ecd1566aae..2c9407a4c625faea49ad7ef36b2b4326c1ff1008 100755 (executable)
@@ -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('    '):