On 05.07.2012 11:20, Christian Hesse wrote:
> This brings a new idea to my mind - could be useful to have the git version
> printed when booting.

I'd prefer to use the abbreviated/short SHA1 (7 digits) that is used
elsewhere in git to identify the checkout. You can easily get the SHA1
associated with HEAD like this:

git rev-parse --short HEAD

I think that should give more accurate info than 'git describe --tags'.

-- Robin
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to