summaryrefslogtreecommitdiff
path: root/gitnoti.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitnoti.py')
-rwxr-xr-xgitnoti.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitnoti.py b/gitnoti.py
index 9759c43..d275261 100755
--- a/gitnoti.py
+++ b/gitnoti.py
@@ -54,7 +54,7 @@ def repo_commit_msg(repo, branch, commits):
stat += ' \00305--%d\017' % deletions
stat += ' \00303++%d\017' % insertions
- commit = commits[-1]
+ commit = commits[0]
msg = '\002%s%s\002 pushed to \002%s\002 by \002%s\002 (%s) %s' % (
reponame,
('/'+branch) if branch else '',