[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] git repo version clarificaiton
From: |
Nick Dokos |
Subject: |
Re: [O] git repo version clarificaiton |
Date: |
Thu, 28 Jun 2012 14:25:01 -0400 |
Tassilo Horn <address@hidden> wrote:
> Nick Dokos <address@hidden> 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
Re: [O] git repo version clarificaiton, Achim Gratz, 2012/06/28