From 902b05264902ef3ceddc43a13f1fafac55e5afe4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 13 Jun 2008 10:46:21 +0200 Subject: [PATCH] pre-receive: show more info about patch --- hooks/alsa-kernel.git/pre-receive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hooks/alsa-kernel.git/pre-receive b/hooks/alsa-kernel.git/pre-receive index 7073be6..6cbe19a 100755 --- a/hooks/alsa-kernel.git/pre-receive +++ b/hooks/alsa-kernel.git/pre-receive @@ -250,7 +250,8 @@ def try_to_merge(commit): error(rlines, "Patch failed - is it already merged?\n") error([], "You may consider to add this commit to alsa.git/kernel-sync/git-ok-commits .\n") error([], "Please, check if patch was merged to alsa-kmirror.git at first!\n") - error([], 'line: "%s" "%s" "%s" "%s"\n' % (commit['Author'], commit['AuthorDate'], commit['Commit'], commit['CommitDate'])) + error([], 'Line: "%s" "%s" "%s" "%s"\n' % (commit['Author'], commit['AuthorDate'], commit['Commit'], commit['CommitDate'])) + error([], 'Patch: %s %s' % (commit['commit'][:7], commit['comment'][0])) fail() if system("git --work-tree=%s --git-dir=%s apply -v %s" % (worktree, KMIRROR_REPO, patchfile)): chdir(curdir) -- 2.47.1