From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77294 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: commit email subject lines Date: Thu, 24 Feb 2011 11:48:13 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vd09z5lu.fsf@lifelogs.com> References: <877hcq28xp.fsf@topper.koldfront.dk> <87aahmq0u1.fsf@lifelogs.com> <87k4gq49gr.fsf@gnus.org> <87tyft1ivx.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298569824 27882 80.91.229.12 (24 Feb 2011 17:50:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 17:50:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25621@lists.math.uh.edu Thu Feb 24 18:50:21 2011 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 1PsfKS-0002xl-NO for ding-account@gmane.org; Thu, 24 Feb 2011 18:50:17 +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 1PsfKQ-0004hg-G6; Thu, 24 Feb 2011 11:50:14 -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 1PsfKO-0004hN-N3 for ding@lists.math.uh.edu; Thu, 24 Feb 2011 11:50:12 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PsfKN-0001VN-OP for ding@lists.math.uh.edu; Thu, 24 Feb 2011 11:50:12 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PsfKN-000883-1H for ding@gnus.org; Thu, 24 Feb 2011 18:50:11 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsfKI-0002tP-GD for ding@gnus.org; Thu, 24 Feb 2011 18:50:06 +0100 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 ; Thu, 24 Feb 2011 18:50:06 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 18:50:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 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.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:O25lmZUzoPQD8PmgK9OFGkJZMvI= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77294 Archived-At: On Thu, 24 Feb 2011 18:10:36 +0100 David Engster wrote: DE> Ted Zlatanov writes: >> On Thu, 24 Feb 2011 09:46:14 +0100 David Engster wrote: >> DE> Lars Ingebrigtsen writes: >>>> Ted Zlatanov writes: >>>> >>>>> It started with the tags. Lars, did you change post-receive? >>>> >>>> Nope. Haven't changed anything. >> DE> This happens because post-receive uses the output from git-describe by DE> default: >> DE> describe=$(git describe $rev 2>/dev/null) DE> if [ -z "$describe" ]; then DE> describe=$( (git log --format="%s" $oldrev...$newrev | perl -e'@p = <>; chomp @p; print "=", scalar @p, "= ", join(" ; ", @p)') 2>/dev/null) DE> fi >> DE> I guess just using the git-log output should make things work again. I DE> don't understand the need for git-describe here anyway. >> >> Me neither. But it seems like it could be useful (according to the `git >> describe' docs it tells you how to reach the nearest tag). Maybe it >> should be in the subject anyhow? DE> Then append it, though I don't think that "n0-13-35-g4c0611b" is a DE> particular useful piece of information for a commit message ("this is DE> based on n0-13 but with 35 commits on top with the current being DE> 4c0611b"). Eh, I don't feel strongly about it. So I guess we can just comment that line out, huh? All right... I'll try to do it tonight. Ted