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 12:29:10 +0000 Message-ID: <20141101122910.GE3020@acm.acm> References: <87tx2m2pw8.fsf@uwakimon.sk.tsukuba.ac.jp> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1414845026 28050 80.91.229.3 (1 Nov 2014 12:30:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2014 12:30:26 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 01 13:30:19 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 1XkXow-0007GI-RN for ged-emacs-devel@m.gmane.org; Sat, 01 Nov 2014 13:30:18 +0100 Original-Received: from localhost ([::1]:52391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkXow-0002Nf-AC for ged-emacs-devel@m.gmane.org; Sat, 01 Nov 2014 08:30:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkXoc-0002FQ-9Q for emacs-devel@gnu.org; Sat, 01 Nov 2014 08:30:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkXoT-0007gP-T6 for emacs-devel@gnu.org; Sat, 01 Nov 2014 08:29:58 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:34096 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkXoT-0007gD-JM for emacs-devel@gnu.org; Sat, 01 Nov 2014 08:29:49 -0400 Original-Received: (qmail 83568 invoked by uid 3782); 1 Nov 2014 12:29:48 -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 13:29:47 +0100 Original-Received: (qmail 4199 invoked by uid 1000); 1 Nov 2014 12:29:10 -0000 Content-Disposition: inline In-Reply-To: <87fve32kx2.fsf@fencepost.gnu.org> 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:176210 Archived-At: Hello, David. On Sat, Nov 01, 2014 at 12:57:13PM +0100, David Kastrup wrote: > Alan Mackenzie writes: > > Yes, that sounds like an excellent reason for using hashes. But for many > > uses, a revision number is better. bzr has them both. git doesn't. > Git has "git describe" for getting a sequence-based decription. It's > used for informal version numbers, like for a self-compiled git as > opposed to an official release: > dak@lola:/usr/local/tmp/lilypond$ git --version > git version 1.9.1 > dak@lola:/usr/local/tmp/lilypond$ ../git/git --version > git version 2.1.0.rc2.3.g67de23d.dirty > dak@lola:/usr/local/tmp/lilypond$ cd ../git > 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. > 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? > If you want to talk about a commit, you'll talk about [ .... ] > I am not really interested in continuing this silliness since it is > totally irrelevant, anyway. If you want to change Git's operation and > nomenclature, feel free to make your point on the Git developer list and > tell everybody there they are doing it all wrong. I've never been anywhere near that list, but I'd be willing to bet an awful lot of money that this point has been raised many times on that list, each time being dismissively dismissed with religious fervour. There are certainly workarounds for the lack of version numbers in git, as you and others have pointed out. I expect their necessity will bring me to hate the program. Such is life. > -- > David Kastrup -- Alan Mackenzie (Nuremberg, Germany).