From 3848d79f1018b46f68857f6e3504771f4b7a1393 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Wed, 3 Oct 2012 18:07:35 -0400 Subject: [PATCH] post-receive: Print commits in top-down chronological order (imported from commit 952c4e0d4488cd41a02d75bc890fceacbb9f6273) --- tools/post-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/post-receive b/tools/post-receive index 61d3f235f1..de131df729 100755 --- a/tools/post-receive +++ b/tools/post-receive @@ -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", "--pretty=- %s", "%s..%s" % (oldrev, newrev)]) + commits = subprocess.check_output(["git", "log", "--reverse", "--pretty=- %s", "%s..%s" % (oldrev, newrev)]) message_data = { "type": "class", "class": "devel",