ok/jj
1
0
Fork 0
forked from mirrors/jj

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.
This commit is contained in:
Ilya Grigoriev 2023-04-07 19:07:35 -07:00
parent adfd52445b
commit 7a8903e5e7

View file

@ -39,6 +39,7 @@ fn get_git_hash() -> Option<String> {
if let Ok(output) = Command::new("jj")
.args([
"--ignore-working-copy",
"--color=never",
"log",
"--no-graph",
"-r=@-",