Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: use git describe for $COMMIT
Use "git describe --dirty --long" instead of "git rev-parse". As a result, the commit ID will contain the closest tag, the number of commits since the tag, and the (abbreviated) git commit sha (see example below). NOTE that this tag is still unique and can be used instead of bare sha for all git commands. Example output of "runc -v | grep commit". Before: commit: 4d87573 After: commit: v1.0.0-rc95-9-g6f55d074 This means that - the closest tag is v1.0.0-rc95 - there were 9 commits after the tag - the abbreviated sha is 6f55d074 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
- Loading branch information