Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: avoid "git describe" without some "--exact-match"
We currently use "git describe --always HEAD" to retrieve HEAD information about the Git repository at ZEPHYR_BASE. This permits to get, with a single Git command: - either HEAD's tag, if HEAD is tagged - or the most recent tag behind HEAD, postfixed with HEAD's short hash This is not necessarily the best version string, but more importantly it can be significantly slower than executing successively the two commands bellow: git describe --exact-match --tags git rev-parse --short HEAD
- Loading branch information