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

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