firmware: always use 8 characters to abbreviate git commit hashes

This commit is contained in:
Sebastien Bourdeauducq 2017-06-17 14:43:50 +08:00
parent e19bfd4781
commit 8fea361412
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ pub fn git_describe() {
.arg("--dirty")
.arg("--always")
.arg("--long")
.arg("--abbrev=8")
.output()
.ok()
.and_then(|o| String::from_utf8(o.stdout).ok())