-
由 Nico Schottelius 提交于
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: NNico Schottelius <nico@ikn.schottelius.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>a182ad3d