From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Referring to revisions in the git future. Date: Sat, 01 Nov 2014 12:57:13 +0100 Message-ID: <87fve32kx2.fsf@fencepost.gnu.org> References: <20141029150600.GA5701@thyrsus.com> <20141029141216.7abbbc0d@anarchist.wooz.org> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414843047 32374 80.91.229.3 (1 Nov 2014 11:57:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2014 11:57:27 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 01 12:57:21 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 1XkXJ2-0000HZ-Ss for ged-emacs-devel@m.gmane.org; Sat, 01 Nov 2014 12:57:21 +0100 Original-Received: from localhost ([::1]:51938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkXJ2-00085n-8a for ged-emacs-devel@m.gmane.org; Sat, 01 Nov 2014 07:57:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkXIz-00085c-MU for emacs-devel@gnu.org; Sat, 01 Nov 2014 07:57:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkXIy-0005Gs-Hz for emacs-devel@gnu.org; Sat, 01 Nov 2014 07:57:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkXIy-0005GS-F3 for emacs-devel@gnu.org; Sat, 01 Nov 2014 07:57:16 -0400 Original-Received: from localhost ([127.0.0.1]:56854 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkXIw-00034O-EJ; Sat, 01 Nov 2014 07:57:15 -0400 Original-Received: by lola (Postfix, from userid 1000) id C58F7DF3E5; Sat, 1 Nov 2014 12:57:13 +0100 (CET) In-Reply-To: <20141101112928.GC3020@acm.acm> (Alan Mackenzie's message of "Sat, 1 Nov 2014 11:29:28 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:176209 Archived-At: 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 Nobody uses it in Email communication because there are no sufficient upsides to it. If you want to talk about a commit, you'll talk about commit 67de23ddb1ed5471e302f6a84fae7a9037a0d980 Merge: f82887f 09898e7 Author: Junio C Hamano Date: Sun Aug 10 11:03:03 2014 -0700 Merge branch 'master' of git://ozlabs.org/~paulus/gitk * 'master' of git://ozlabs.org/~paulus/gitk: gitk: Updated Bulgarian translation (302t,0f,0u) gitk: Add keybinding to switch to parent commit because that saves everybody the work of having to figure out the details himself by asking his repositoty. A serial number is not in any manner more useful than a hash here. 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. -- David Kastrup