From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: Git transition checklist Date: Wed, 08 Jan 2014 20:15:15 +0100 Organization: Linux Private Site Message-ID: <87txdeqo8s.fsf@Rainer.invalid> References: <20140108135200.8ECF9380834@snark.thyrsus.com> <837gaafij8.fsf@gnu.org> <87y52qqpmn.fsf@Rainer.invalid> <83wqiae26m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389208544 24318 80.91.229.3 (8 Jan 2014 19:15:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2014 19:15:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 08 20:15:51 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 1W0ybW-0002W8-JO for ged-emacs-devel@m.gmane.org; Wed, 08 Jan 2014 20:15:50 +0100 Original-Received: from localhost ([::1]:48600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0ybW-0005Gm-49 for ged-emacs-devel@m.gmane.org; Wed, 08 Jan 2014 14:15:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0ybN-0005FX-Uy for emacs-devel@gnu.org; Wed, 08 Jan 2014 14:15:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0ybF-0000FY-Vj for emacs-devel@gnu.org; Wed, 08 Jan 2014 14:15:41 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:53693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0ybF-0000FT-Ic for emacs-devel@gnu.org; Wed, 08 Jan 2014 14:15:33 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W0ybD-0001fd-Ru for emacs-devel@gnu.org; Wed, 08 Jan 2014 20:15:31 +0100 Original-Received: from pd9eb08f4.dip0.t-ipconnect.de ([217.235.8.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Jan 2014 20:15:31 +0100 Original-Received: from Stromeko by pd9eb08f4.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Jan 2014 20:15:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb08f4.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:BXH1vDR+VES7H/OK8gRvqPOxqHA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:167795 Archived-At: Eli Zaretskii writes: >> .../emacs> git tag --annotate emacs-24.3-ann emacs-24.3 >> .../emacs> git describe >> emacs-24.3-ann-5712-g478ff9c > > I still don't see why not use 'git log' for this purpose. Didn't you say you wanted to see at a glance which commit comes later? The above gives you that information: we are 5712 commits past release emacs-24.3-ann and the SHA1 of the commit starts with 478ff9c (where to truncate the SHA1 can be controlled by the --abbrev option). > We don't want a description of the branch, we want the ID of the last > commit on which the build is based. Using that, one can easily > identify what was in the tree. You have that information, plus some more. If you really just want the (abbreviated) SHA1, then: git show --format=format:%h --no-patch does that without much fuzz (if you want a trailing newline, then the format should be "%h%n". Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada