[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: show git SHA1 in output of `lilypond --version'
From: |
Johannes Schindelin |
Subject: |
Re: show git SHA1 in output of `lilypond --version' |
Date: |
Wed, 16 Dec 2009 09:40:45 +0100 (CET) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
Hi,
On Wed, 16 Dec 2009, Werner LEMBERG wrote:
> It would make life a bit easier for testers who are directly compiling
> from git if the SHA1 number (perhaps the first eight digits only) could
> be shown in the output of
>
> lilypond --version
>
> Any chance to add this?
The common way is to do something like "$(shell git describe)" in the
Makefile. This will add slightly more than just the short commit name; it
will also include the name of the closest tag.
Ciao,
Dscho