mirror of https://github.com/zulip/zulip.git
post-receive: Print commits in top-down chronological order
(imported from commit 952c4e0d4488cd41a02d75bc890fceacbb9f6273)
This commit is contained in:
parent
ed8042da73
commit
3848d79f10
|
@ -41,7 +41,7 @@ def process_push(oldrev, newrev, refname):
|
||||||
subprocess.check_call(["ssh", "app.humbughq.com", "--", "env", "-u", "GIT_DIR",
|
subprocess.check_call(["ssh", "app.humbughq.com", "--", "env", "-u", "GIT_DIR",
|
||||||
"/home/humbug/humbug/tools/update-deployment",
|
"/home/humbug/humbug/tools/update-deployment",
|
||||||
oldrev, newrev, refname])
|
oldrev, newrev, refname])
|
||||||
commits = subprocess.check_output(["git", "log", "--pretty=- %s", "%s..%s" % (oldrev, newrev)])
|
commits = subprocess.check_output(["git", "log", "--reverse", "--pretty=- %s", "%s..%s" % (oldrev, newrev)])
|
||||||
message_data = {
|
message_data = {
|
||||||
"type": "class",
|
"type": "class",
|
||||||
"class": "devel",
|
"class": "devel",
|
||||||
|
|
Loading…
Reference in New Issue