Thanks,
The closest analog is git describeOn Tue, Aug 07, 2012 at 02:21:22PM -0400, Igor Schein wrote:
> Package: pari
> Version: git
> Severity: wishlist
>
> GP/PARI
> CALCULATOR Version 2.6.0 (development git-06d4585)
> amd64 running
> linux (x86-64/GMP-5.0.2 kernel) 64-bit version
> compiled: Aug 7
> 2012, gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
>
> (readline v6.2 enabled, extended help enabled)
>
> This is cryptic and hard to use - if I use multiple builds, I can't easily
> tell their chronological order - I have to check against `git log`. In
> subversion it was better - a strictly-ascending version number.
> Is there a solution for that in git? The only thing which comes to mind (I
> am a git novice) is to make a corresponding timestamp of `git log` output a
> part of the version string - it should provide both uniqueness and
> ascending order.
For example:
$ git describe 06d4585
pari-2.6-1276-g06d4585
Cheers,
Bill.