From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: git repo version clarificaiton Date: Thu, 28 Jun 2012 14:25:01 -0400 Message-ID: <26722.1340907901@alphaville> References: <22731.1340892491@alphaville> <87txxvigsj.fsf@thinkpad.tsdh.de> <24958.1340900297@alphaville> <87lij7tk3t.fsf@thinkpad.tsdh.de> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkJP2-000091-Qn for emacs-orgmode@gnu.org; Thu, 28 Jun 2012 14:25:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkJOx-0007os-SO for emacs-orgmode@gnu.org; Thu, 28 Jun 2012 14:25:16 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:11209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkJOx-0007fc-N2 for emacs-orgmode@gnu.org; Thu, 28 Jun 2012 14:25:11 -0400 In-Reply-To: Message from Tassilo Horn of "Thu, 28 Jun 2012 19:35:50 +0200." <87lij7tk3t.fsf@thinkpad.tsdh.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tassilo Horn Cc: emacs-orgmode@gnu.org Tassilo Horn wrote: > Nick Dokos writes: > > Hi Nick, > > > Is this master or maint? > > master > > >> Org-mode version 7.8.10 (release_7.8.10-701-g054f99 @ > >> /home/horn/Repos/el/org-mode/lisp/) > >> > >> instead of 7.8.11. > > > > Oh, and as Achim pointed out, you probably need to do > > > > git fetch --tags origin > > Oh, yes, that does the trick. So the org version is constructed from > the latest tag in git? > When you ``make autoloads'', it runs ``git describe --abbrev=6 HEAD'' and uses the resulting string to create a new org-version.el file. That file is then used from that point on. And yes, ``git describe'' calculates the name by counting how many commits past the latest available tag there are (on the appropriate branch). Nick