]> git.alsa-project.org Git - alsa.git/commitdiff
pre-receive: fix wrong signed-off-by: in author:
authorJaroslav Kysela <perex@perex.cz>
Mon, 19 Jan 2009 11:15:19 +0000 (12:15 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 Jan 2009 11:15:19 +0000 (12:15 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
hooks/alsa-kernel.git/pre-receive

index b92daf8acd75dd0a7dda2b5a446539789275f0c9..6b4a52e936394d7f431395da25ee98c9bb0961c6 100755 (executable)
@@ -131,6 +131,7 @@ def read_kmirror_commits():
                 ALSA_LAST_COMMIT = commitref
         elif line.startswith('Author:') or line.startswith('AuthorDate:') or \
              line.startswith('Commit:') or line.startswith('CommitDate:'):
+            line = line.replace('Signed-off-by:', '')
             a, b = line.split(': ')
             commit[a.strip()] = b.strip()
     if commitref: