From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74260 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: [ding-cvslog-owner@lists.math.uh.edu] Stalled post to ding-cvslog Date: Tue, 23 Nov 2010 05:14:49 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y68knvfa.fsf@lifelogs.com> References: <87wrom936j.fsf@turtle.gmx.de> <87aali1g6l.fsf@keller.adm.naquadah.org> <87lj528ff2.fsf@turtle.gmx.de> <878w12qi64.fsf@lifelogs.com> <87bp5xboyv.fsf@turtle.gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290510977 16198 80.91.229.12 (23 Nov 2010 11:16:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2010 11:16:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22625@lists.math.uh.edu Tue Nov 23 12:16:13 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 1PKqr5-0005kp-8E for ding-account@gmane.org; Tue, 23 Nov 2010 12:16:11 +0100 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 1PKqq6-0000By-6p; Tue, 23 Nov 2010 05:15:10 -0600 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 1PKqq4-0000Bm-Da for ding@lists.math.uh.edu; Tue, 23 Nov 2010 05:15:08 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PKqq0-000369-AG for ding@lists.math.uh.edu; Tue, 23 Nov 2010 05:15:07 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PKqpz-00024e-00 for ; Tue, 23 Nov 2010 12:15:03 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PKqpy-0005Ew-OD for ding@gnus.org; Tue, 23 Nov 2010 12:15:02 +0100 Original-Received: from c-24-14-16-248.hsd1.il.comcast.net ([24.14.16.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Nov 2010 12:15:02 +0100 Original-Received: from tzz by c-24-14-16-248.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Nov 2010 12:15:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-14-16-248.hsd1.il.comcast.net 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:WGmDNdOPVZZ0C898YXPvEWuFx4E= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74260 Archived-At: On Wed, 10 Nov 2010 08:46:32 +0100 Sven Joachim wrote: SJ> On 2010-11-09 22:52 +0100, Ted Zlatanov wrote: >> On Tue, 09 Nov 2010 20:28:49 +0100 Sven Joachim wrote: >> SJ> On 2010-11-09 20:08 +0100, Lars Magne Ingebrigtsen wrote: >>>> Julien Danjou writes: >>>> >>>>> There's one: >>>>> >>>>> % git show --pretty=full 00cd64463c5cf16d6aa0611c7957cfe94e6d5b0d | head -3 >>>>> commit 00cd64463c5cf16d6aa0611c7957cfe94e6d5b0d >>>>> Author: Sven Joachim >>>>> Commit: Katsumi Yamaoka >>>> >>>> Right. But the Commit line wasn't even in the mail, which makes it >>>> rather difficult for the mailing list software to use that. :-) >> SJ> Correct, that's why I proposed to change the post-receive script (which SJ> writes and sends the mail) so that it uses the "Commit:" address for SJ> constructing the "From:" field in the mail. Sorry if that was unclear. >> >> The script is in the Git repo under etc/post-receive. Can you suggest a patch? SJ> The following should work (untested, though): SJ> diff --git a/etc/post-receive b/etc/post-receive SJ> index 421db3e..c77d6df 100755 SJ> --- a/etc/post-receive SJ> +++ b/etc/post-receive SJ> @@ -2,9 +2,9 @@ SJ> # modified: 2010-09-01 and on by tzz@lifelogs.com SJ> -# Use the email address of the author of the last commit. SJ> -export USER_EMAIL=$(git log -1 --format=format:%ae HEAD) SJ> -export USER_NAME=$(git log -1 --format=format:%an HEAD) SJ> +# Use the email address of the committer of the last commit. SJ> +export USER_EMAIL=$(git log -1 --format=format:%ce HEAD) SJ> +export USER_NAME=$(git log -1 --format=format:%cn HEAD) SJ> # the remainder is the standard git-core post-receive-email with some changes: Sorry it took so long. I installed your change (which Julien comitted yesterday) on the Git server. Ted