Browse Source

darkirc: reverse commitbot's push events order

dasman 7 months ago
parent
commit
db41ac54f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/darkirc/script/bots/commitbot.py

+ 1 - 1
bin/darkirc/script/bots/commitbot.py

@@ -89,7 +89,7 @@ def handle_forward_push(irc, data):
     branch = get_branch_name_from_push_event(data)
 
     commits = list(map(fmt_commit, data['commits']))
-    for commit in commits:
+    for commit in reversed(commits):
         print("Push event:")
         print(f"@{author} pushed {num_commits} to {branch}: {commit}")
         print("==============================================")