From 8fea3614127162a51df9a6455ae0af67a933e3e7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 17 Jun 2017 14:43:50 +0800 Subject: [PATCH] firmware: always use 8 characters to abbreviate git commit hashes --- artiq/firmware/libbuild_artiq/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/firmware/libbuild_artiq/lib.rs b/artiq/firmware/libbuild_artiq/lib.rs index 666a91651..1ce45d4cd 100644 --- a/artiq/firmware/libbuild_artiq/lib.rs +++ b/artiq/firmware/libbuild_artiq/lib.rs @@ -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())