From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Referring to revisions in the git future Date: Sat, 1 Nov 2014 13:46:55 +0000 Message-ID: <20141101134655.GG3020@acm.acm> References: <87sii43u15.fsf@fencepost.gnu.org> <877fzf3dr2.fsf@uwakimon.sk.tsukuba.ac.jp> <87oasrl7sn.fsf@thinkpad-t440p.tsdh.org> <87k33f4ay9.fsf@fencepost.gnu.org> <20141101094604.GA3020@acm.acm> <874muj43j8.fsf@fencepost.gnu.org> <20141101112928.GC3020@acm.acm> <87fve32kx2.fsf@fencepost.gnu.org> <20141101122910.GE3020@acm.acm> <87h9yj6q9u.fsf_-_@violet.siamics.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1414849687 29012 80.91.229.3 (1 Nov 2014 13:48:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2014 13:48:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ivan Shmakov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 01 14:48:01 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 1XkZ29-0000QB-BH for ged-emacs-devel@m.gmane.org; Sat, 01 Nov 2014 14:48:01 +0100 Original-Received: from localhost ([::1]:52576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkZ29-0004i1-0M for ged-emacs-devel@m.gmane.org; Sat, 01 Nov 2014 09:48:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkZ1r-0004cD-TZ for emacs-devel@gnu.org; Sat, 01 Nov 2014 09:47:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkZ1j-0003Fp-6T for emacs-devel@gnu.org; Sat, 01 Nov 2014 09:47:43 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:43667 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkZ1i-0003FU-Sb for emacs-devel@gnu.org; Sat, 01 Nov 2014 09:47:35 -0400 Original-Received: (qmail 5196 invoked by uid 3782); 1 Nov 2014 13:47:33 -0000 Original-Received: from acm.muc.de (pD9518B1F.dip0.t-ipconnect.de [217.81.139.31]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 01 Nov 2014 14:47:32 +0100 Original-Received: (qmail 4448 invoked by uid 1000); 1 Nov 2014 13:46:55 -0000 Content-Disposition: inline In-Reply-To: <87h9yj6q9u.fsf_-_@violet.siamics.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 193.149.48.1 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:176216 Archived-At: Hello, Ivan. On Sat, Nov 01, 2014 at 12:47:57PM +0000, Ivan Shmakov wrote: > >>>>> Alan Mackenzie writes: > >>>>> On Sat, Nov 01, 2014 at 12:57:13PM +0100, David Kastrup wrote: > >> dak@lola:/usr/local/tmp/git$ git describe > >> v2.1.0-rc2-3-g67de23d > > Maybe I'm blind, but I can't see anything like a sequential version > > number in that string. > It comes in-between the tag name (v2.1.0-rc2) and the Git > revision proper (g67de23d), prefixed with a ‘g’. Ah, it's the "3". > >> Nobody uses it in Email communication because there are no > >> sufficient upsides to it. > > Is it of any use for anything? Can you use it as input to a git > > command, for example? By which I meant the sequential version number. Clearly "3" is not going to do anything at all. > The part of that string after the last ‘g’ (that is: 67de23d) is > an abbreviated Git revision hash, which could be used with just > about any Git command. So, in other words, you might as well just use the "67de23d" rather than typing in the whole lot. > -- > FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A -- Alan Mackenzie (Nuremberg, Germany).