From 6e8853bdc571b4ad5de46bc70911d7d3fd8c1ae4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 19 Jan 2009 12:15:19 +0100 Subject: [PATCH] pre-receive: fix wrong signed-off-by: in author: Signed-off-by: Jaroslav Kysela --- hooks/alsa-kernel.git/pre-receive | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/alsa-kernel.git/pre-receive b/hooks/alsa-kernel.git/pre-receive index b92daf8..6b4a52e 100755 --- a/hooks/alsa-kernel.git/pre-receive +++ b/hooks/alsa-kernel.git/pre-receive @@ -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: -- 2.47.1