]> granicus.if.org Git - neomutt/commit
Include extra information in mutt version string for developer builds.
authorDavid Champion <dgc@uchicago.edu>
Mon, 3 Jan 2011 19:19:50 +0000 (13:19 -0600)
committerDavid Champion <dgc@uchicago.edu>
Mon, 3 Jan 2011 19:19:50 +0000 (13:19 -0600)
commit89be18d2a1b9327d4120552c33fbccb430c4f621
tree04be33f3581870a848ed871b0c39bc2d4ea4b01d
parent0cfea7d288ef2ad898207b8f1fcec0c52e657506
Include extra information in mutt version string for developer builds.

When a build is based on an hg clone, include extra information about
the changeset node, distance from a tagged release, and mq applied patch
count.

For example, after this patch is applied my mutt build identifies itself
(in mutt -v and in <show-version>) as:

Mutt 1.5.21+26,mq+22 (7edc2073390d) (2010-09-15)

I have applied 26 changesets applied since 1.5.21 was tagged, 22 of
which are in my mq patch series.  A 1.5.21 release build that is not
mercurial-based would still appear simply as "1.5.21".
configure.ac
version.sh [new file with mode: 0755]