aports/testing/youki/ungit.patch
2022-01-19 00:44:54 +00:00

15 lines
442 B
Diff

Don't include SHA of the HEAD of the aports repository in youki --version.
--- a/crates/youki/build.rs
+++ b/crates/youki/build.rs
@@ -3,6 +3,8 @@
fn main() -> Result<()> {
let mut config = Config::default();
- *config.git_mut().sha_kind_mut() = ShaKind::Short;
+ // XXX-Patched: Disabled git output.
+ *config.git_mut().enabled_mut() = false;
+ println!("cargo:rustc-env=VERGEN_GIT_SHA_SHORT=0");
vergen(config)
}