From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77290 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: commit email subject lines Date: Thu, 24 Feb 2011 18:10:36 +0100 Message-ID: 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 1298567474 13685 80.91.229.12 (24 Feb 2011 17:11:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 17:11:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25617@lists.math.uh.edu Thu Feb 24 18:11:10 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 1PseiO-0002Zw-D6 for ding-account@gmane.org; Thu, 24 Feb 2011 18:10:57 +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 1PseiG-0004P3-03; Thu, 24 Feb 2011 11:10:48 -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 1PseiE-0004Od-6w for ding@lists.math.uh.edu; Thu, 24 Feb 2011 11:10:46 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PseiD-0001KB-87 for ding@lists.math.uh.edu; Thu, 24 Feb 2011 11:10:46 -0600 Original-Received: from v3-1008.vxen.de ([79.140.41.8]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PseiC-00070I-3y for ding@gnus.org; Thu, 24 Feb 2011 18:10:44 +0100 Original-Received: from [134.76.4.230] (helo=imac.local) by v3-1008.vxen.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1PseiA-0007nA-P2 for ding@gnus.org; Thu, 24 Feb 2011 18:10:42 +0100 In-Reply-To: <87tyft1ivx.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 24 Feb 2011 10:45:22 -0600") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (darwin) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77290 Archived-At: 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? Then append it, though I don't think that "n0-13-35-g4c0611b" is a particular useful piece of information for a commit message ("this is based on n0-13 but with 35 commits on top with the current being 4c0611b"). -David