Skip to content
Commit a182ad3d authored by Nico Schottelius's avatar Nico Schottelius Committed by Sam Ravnborg
Browse files

kbuild: fix scripts/setlocalversion with git



When using trees like wireless-testing, which have untagged tags,
scripts/setlocalversion does not display any git indication for
localversion.

This patch fixes it: If git is available, but no usable tag is found,
it uses -g${head}. It skips the detection of unanottated tags via
git name-rev.

Signed-off-by: default avatarNico Schottelius <nico@ikn.schottelius.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 99e3a1eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment