2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

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

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())