[sysadmin-bin: 44/168] Don't number commit emails unless there is a cover letter
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 44/168] Don't number commit emails unless there is a cover letter
- Date: Thu, 24 May 2012 19:55:08 +0000 (UTC)
commit 4cf3ea282a295e0240c1f6a2a1f03d6e0c29aa25
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Mon Mar 16 18:31:26 2009 -0400
Don't number commit emails unless there is a cover letter
When we aren't doing a cover letter, conceptually the series of
commit emails is a bunch of unrelated things, so don't number them.
gnome-post-receive-email | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-post-receive-email b/gnome-post-receive-email
index 55f9ff7..1af7834 100755
--- a/gnome-post-receive-email
+++ b/gnome-post-receive-email
@@ -598,7 +598,7 @@ class BranchChange(RefChange):
branch = "/" + self.short_refname
total = len(self.added_commits)
- if total > 1:
+ if total > 1 and self.needs_cover_email:
count_string = ": %(index)s/%(total)s" % {
'index' : i + 1,
'total' : total
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]