From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70294 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Git, ding-cvslog (gmane.emacs.gnus.cvs), ding-patches (gmane.emacs.gnus.commits) Date: Wed, 01 Sep 2010 15:30:35 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87occh6wb8.fsf@lifelogs.com> References: <87iq2prjr0.fsf@marauder.physik.uni-ulm.de> <87occhd85d.fsf@lifelogs.com> <87wrr58b9u.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1283373057 27515 80.91.229.12 (1 Sep 2010 20:30:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2010 20:30:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18680@lists.math.uh.edu Wed Sep 01 22:30:56 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqtxP-0007JV-RU for ding-account@gmane.org; Wed, 01 Sep 2010 22:30:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OqtxM-0002jM-1l; Wed, 01 Sep 2010 15:30:52 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OqtxK-0002iy-CF for ding@lists.math.uh.edu; Wed, 01 Sep 2010 15:30:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OqtxJ-0008Sh-1m for ding@lists.math.uh.edu; Wed, 01 Sep 2010 15:30:50 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OqtxI-00024C-00 for ; Wed, 01 Sep 2010 22:30:48 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OqtxG-0007Dk-6h for ding@gnus.org; Wed, 01 Sep 2010 22:30:46 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Sep 2010 22:30:46 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Sep 2010 22:30:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 56 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Ji7OzA6Bf8NXt4sjtMP1fq+n16o= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70294 Archived-At: On Wed, 01 Sep 2010 22:22:05 +0200 asjo@koldfront.dk (Adam Sjøgren) wrote: AS> I am trying to sort of follow what happens by looking at the emails, and AS> to me everything before the: AS> - Log ----------------------------------------------------------------- AS> -line is noise (or stuff I would be happy to scroll down and look at, in AS> the rare cases I need that information). While log and diff are the AS> parts I most often want to read. AS> So I suggest that the part that looks like this at the top: AS> via f95141317eb39d9290d2fb9e7794b42db17b8991 (commit) AS> from d7c1cd6edd6b738730b0a646b7e8a257d30194df (commit) AS> Those revisions listed above that are new to this repository have AS> not appeared on any other notification email; so we list those AS> revisions in full, below. AS> also is moved after the log and diff-parts. I can do it, sure, but the revision list is a table of contents and pretty nice in any non-trivial situation so I'd leave it on top. Would something like the following work for you? Ted diff --git a/etc/post-receive b/etc/post-receive index 37ec5f9..9309ea3 100755 --- a/etc/post-receive +++ b/etc/post-receive @@ -405,10 +405,6 @@ generate_update_branch_email() echo "" if [ -z "$rewind_only" ]; then - echo "Those revisions listed above that are new to this repository have" - echo "not appeared on any other notification email; so we list those" - echo "revisions in full, below." - echo "" echo $LOGBEGIN show_new_revisions @@ -418,6 +414,11 @@ generate_update_branch_email() # revisions added by this update" message echo $LOGEND + + echo "Those revisions listed above that are new to this repository have" + echo "not appeared on any other notification email; so we listed those" + echo "revisions in full, above." + else echo "No new revisions were added by this update." fi