From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: git transition issues Date: Tue, 28 Oct 2014 11:33:59 -0400 Message-ID: References: <20141027000718.F09B5382A66@snark.thyrsus.com> <544DA310.1090902@porkrind.org> <20141027015558.GA10920@thyrsus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1414510459 1702 80.91.229.3 (28 Oct 2014 15:34:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2014 15:34:19 +0000 (UTC) Cc: emacs-devel@gnu.org, David Caldwell To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 28 16:34:14 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 1Xj8md-0000jz-Eu for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2014 16:34:07 +0100 Original-Received: from localhost ([::1]:39854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj8md-0002S9-1r for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2014 11:34:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj8mZ-0002PY-3d for emacs-devel@gnu.org; Tue, 28 Oct 2014 11:34:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xj8mY-0001Y5-67 for emacs-devel@gnu.org; Tue, 28 Oct 2014 11:34:03 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj8mY-0001Y1-43 for emacs-devel@gnu.org; Tue, 28 Oct 2014 11:34:02 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Xj8mV-0000lN-UZ; Tue, 28 Oct 2014 11:34:00 -0400 X-Spook: satellite imagery investigation SRI CDC IRA smuggle X-Ran: vi.Lj+L/z$o~6w8{h`|OjaF?FIsuz- (Eric S. Raymond's message of "Sun, 26 Oct 2014 21:55:58 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:175924 Archived-At: "Eric S. Raymond" wrote: >> 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, etc). >> >> git show-ref -s --head ^HEAD > > I noticed the %N issue, yes. I agree with this critique. %N is right for the current git repo. http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00442.html