On 03/12/2013 02:38 PM, David Goulet wrote: > Yup that would be ideal actually! > > Master is not 2.0 nor 2.1 so having something like > "git-FIRST_8_BYTES_OF_HEAD_COMMIT" would be very useful.
You might like this script we use with systemtap: http://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=blob;f=git_version.sh That gives us a header which defines a git version string such as "release-2.1-78-g3d0a328", in the style of "git describe". _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
