]> git.alsa-project.org Git - alsa.git/commitdiff
pre-receive: show more info about patch
authorJaroslav Kysela <perex@perex.cz>
Fri, 13 Jun 2008 08:46:21 +0000 (10:46 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 13 Jun 2008 08:46:21 +0000 (10:46 +0200)
hooks/alsa-kernel.git/pre-receive

index 7073be621b5737a6ff5e92b32beabc9dfed8e0c2..6cbe19a6cf02f6dccb174dfe29f457b3a433cce1 100755 (executable)
@@ -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)