From 7a8903e5e7c583b2fdcad0dc89d75e29f22437a5 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Fri, 7 Apr 2023 19:07:35 -0700 Subject: [PATCH] Fixup to ed0b23d: make build.rs not insert color Currently, the hash becomes colored if jj is used to get it at build time and the user configured `color="always"` in jj's config. --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index fd3faf526..5549e3cf9 100644 --- a/build.rs +++ b/build.rs @@ -39,6 +39,7 @@ fn get_git_hash() -> Option { if let Ok(output) = Command::new("jj") .args([ "--ignore-working-copy", + "--color=never", "log", "--no-graph", "-r=@-",