From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Caldwell Newsgroups: gmane.emacs.devel Subject: Re: git transition issues Date: Sun, 26 Oct 2014 18:42:40 -0700 Message-ID: <544DA310.1090902@porkrind.org> References: <20141027000718.F09B5382A66@snark.thyrsus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms050006070008070507000302" X-Trace: ger.gmane.org 1414374217 19675 80.91.229.3 (27 Oct 2014 01:43:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2014 01:43:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: esr@thyrsus.com (Eric S. Raymond) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 27 02:43:31 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XiZLH-0005xo-26 for ged-emacs-devel@m.gmane.org; Mon, 27 Oct 2014 02:43:31 +0100 Original-Received: from localhost ([::1]:58877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZLG-0003wY-IO for ged-emacs-devel@m.gmane.org; Sun, 26 Oct 2014 21:43:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZKy-0003uw-5U for emacs-devel@gnu.org; Sun, 26 Oct 2014 21:43:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiZKs-0003e4-Js for emacs-devel@gnu.org; Sun, 26 Oct 2014 21:43:12 -0400 Original-Received: from sa38.galvanix.net ([98.126.48.38]:49748 helo=kill.porkrind.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiZKs-0003bO-8C for emacs-devel@gnu.org; Sun, 26 Oct 2014 21:43:06 -0400 Original-Received: from porkrind.org (cpe-76-170-36-134.socal.res.rr.com [76.170.36.134]) by kill.porkrind.org (Postfix) with ESMTPS id 34A575F422; Sun, 26 Oct 2014 18:42:44 -0700 (PDT) Authentication-Results: kill.porkrind.org; dkim=pass reason="1536-bit key; unprotected key" header.d=porkrind.org header.i=@porkrind.org header.b=OvscNqE1; dkim-adsp=pass; dkim-atps=neutral Original-Received: from [10.0.0.10] (black.local [10.0.0.10]) (authenticated bits=0) by porkrind.org (8.14.4/8.14.4/Debian-8) with ESMTP id s9R1gfAB010770 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sun, 26 Oct 2014 18:42:42 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porkrind.org; s=apoptygma; t=1414374162; bh=srP+i9qlxOQwJuNgSSicOHxSDMJLkONCF7TwOom04Ig=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=OvscNqE1bLdaWcFYubsc5qwKzmzf49HAeFo9/+g+auImqRrfmtNYxfXQGHYaGX2S7 zBVw6mpw227CfrX1pIFrCV9i7cULuC8kv0wRbpUKkNmjpmR0fw76bhoQ9KfvrOemV2 VVtSHuawFfd2vz5x5BtyrpResBmaOUNK+bh6nHpmnopazaKLjrlePeYW3dPKspgntL Y/2X6nZxJQw71I8yr5b8Z59w9ilvQXmSkB29NKNtpYpE6pD0tma7CBT09FT User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: <20141027000718.F09B5382A66@snark.thyrsus.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAACXBIWXMAAAsTAAALEwEAmpwY AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+S X8VGAAABiklEQVR42rRYSZIDIQwzLv7/ZXLoEAzeBKG7ag4DRhZeBKQ0Qr5imLWCrKwn0HImc1Mx aAvmmc/cuAT7RMYws6v/gHeb0p4/y5792GJJlLZWOPgsdV5NaRes4Xe4632sLljD7wKv1Ta74H/h MxecN1Rc2TatYcP7zb+6WFfN/zMSHg1Ymuxjrzd+DuLw6Nlekggt1hvr7KK9tRIX85jjM6GTYhfv nzXH3jBdYc4koueBs66M+Xv9O9n5ML4urWssjGeMY3if3bzGSvk30BQ46OOaxJjLCpzPJAzXrOrD z5VFh58TIiwESIiCHNxxwPTy97qDei8YdpVdyYEv6EQcK8n+iTyE/Cn1eoe7HwN+F56oErVSGtJY Q1sR2ehaUHfjvJuv0tL7qAzEbBmfF2IHrVi8zp9N0pZtQZZHOXp/sLW4+hqKvm3iccaPwP3XgnKX n8/YtVeOsnenRG7VCBFlZ5fe3LOyANCVdGAIwDs7tTXGF4hIk15/iAfSgv2UkNFItSszOG3Ha7r0 GQBerhBkHOAzmQAAAABJRU5ErkJggg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 98.126.48.38 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175883 Archived-At: This is a cryptographically signed message in MIME format. --------------ms050006070008070507000302 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/26/14 5:07 PM, esr@thyrsus.com (Eric S. Raymond) wrote: > lisp/version.el: The bzr-specific code for version extraction will be > obsolete. The git-specific code is very broken. Among other > problems, in my stock Ubuntu environment the git log command it > generates always fails, apparently because it can't find terminal > capabilities it wants. =46rom version.el: (call-process "git" nil '(t nil) nil "log" "-1" "--pretty=3Dformat:%N") This looks wrong to me. %N is the commit's note from "git notes". Perhaps this should be %H, to get the commit hash? And if so, I think the better way is with "git show-ref", as it's a plumbing command where "git log" is not (git log likes to redirect stuff through your $PAGER, et= c). git show-ref -s --head ^HEAD -David --------------ms050006070008070507000302 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMYDCC BiQwggUMoAMCAQICAwkFtDANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNV BAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRl IFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlh dGUgQ2xpZW50IENBMB4XDTE0MDIxODEwNDcxNFoXDTE1MDIxOTEyNTQzNVowQDEbMBkGA1UE AwwSZGF2aWRAcG9ya3JpbmQub3JnMSEwHwYJKoZIhvcNAQkBFhJkYXZpZEBwb3JrcmluZC5v cmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkzgZ2USy/IIF69iMaP5dgxFrN n/ppK9+HRpKWsesQ71tTX9+CqObNny15tzbNgORggsM5vVB7EdyNOfwhu2ZUn48MVSKnKnIM LmQPJNlYLbSDM33Q+2amNgoWxyvv3lpP44hXDB0Tftwu+0GMagvxKN2kpgVj5PvCai0NAhtR LZO6pspCTocquiYRovB2gDXq5wUFAU02lvlIgNFSV5QhHMHrAssy2qwU3/aoA9ibRpvSTFes LtawCR1zdqOo/wUrYfXT/XdTWYHXpNSFPNSeoPNoU08/jbH/077fdOLXXDN/NMU5dbWXkveS 4qQHWI0Zmgxj2oYfIOrM9SpcbYNTAgMBAAGjgg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