post-receive: Include author names

(imported from commit 7914f47364d014bd17115db7defd0cc634f4ac60)
This commit is contained in:
Keegan McAllister 2012-10-04 17:34:36 -04:00
parent bfa24d75b6
commit c9623ee370
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def process_push(oldrev, newrev, refname):
subprocess.check_call(["ssh", "app.humbughq.com", "--", "env", "-u", "GIT_DIR",
"/home/humbug/humbug/tools/update-deployment",
oldrev, newrev, refname])
commits = subprocess.check_output(["git", "log", "--reverse", "--pretty=- %s", "%s..%s" % (oldrev, newrev)])
commits = subprocess.check_output(["git", "log", "--reverse", "--pretty=- **%aN**: %s", "%s..%s" % (oldrev, newrev)])
message_data = {
"type": "class",
"class": "test" if refname == "refs/heads/test-post-receive" else "devel",