mirror of https://github.com/m-labs/artiq.git
firmware: always use 8 characters to abbreviate git commit hashes
This commit is contained in:
parent
e19bfd4781
commit
8fea361412
|
@ -16,6 +16,7 @@ pub fn git_describe() {
|
||||||
.arg("--dirty")
|
.arg("--dirty")
|
||||||
.arg("--always")
|
.arg("--always")
|
||||||
.arg("--long")
|
.arg("--long")
|
||||||
|
.arg("--abbrev=8")
|
||||||
.output()
|
.output()
|
||||||
.ok()
|
.ok()
|
||||||
.and_then(|o| String::from_utf8(o.stdout).ok())
|
.and_then(|o| String::from_utf8(o.stdout).ok())
|
||||||
|
|
Loading…
Reference in New Issue