mirror of https://github.com/rust-lang/cargo
Set cargo --version git short hash length to 9
This commit is contained in:
parent
1d9ded94fd
commit
50ce64191c
1
build.rs
1
build.rs
|
@ -53,6 +53,7 @@ fn commit_info() {
|
||||||
.arg("-1")
|
.arg("-1")
|
||||||
.arg("--date=short")
|
.arg("--date=short")
|
||||||
.arg("--format=%H %h %cd")
|
.arg("--format=%H %h %cd")
|
||||||
|
.arg("--abbrev=9")
|
||||||
.output()
|
.output()
|
||||||
{
|
{
|
||||||
Ok(output) if output.status.success() => output,
|
Ok(output) if output.status.success() => output,
|
||||||
|
|
Loading…
Reference in New Issue