Skip to content
Snippets Groups Projects
Commit b8aa57b5 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

tools/setlocalversion: use a git-describe-ish format


Change the automatic local version to have the form -nnnnn-gSHA1SUMID,
where 'nnnnn' is the number of commits since the last tag (i.e.,
1.3.2-rc3).  This makes it much easier to recognize "newer" versions
and to see how much has been changed since the referenced tag.

Stolen from Linux kernel's scripts/setlocalversio, see commit d882421f.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent c6dc21c8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment