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:
parent
adfd52445b
commit
7a8903e5e7
1 changed files with 1 additions and 0 deletions
1
build.rs
1
build.rs
|
@ -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=@-",
|
||||
|
|
Loading…
Reference in a new issue