Skip to content

Commit be82984

Browse files
committed
Added "pijul" as a config key for cargo-new.vcs in .cargo/config
1 parent cd5b980 commit be82984

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cargo/ops/cargo_new.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ fn global_config(config: &Config) -> CargoResult<CargoNewConfig> {
590590
let vcs = match vcs.as_ref().map(|p| (&p.val[..], &p.definition)) {
591591
Some(("git", _)) => Some(VersionControl::Git),
592592
Some(("hg", _)) => Some(VersionControl::Hg),
593+
Some(("pijul", _)) => Some(VersionControl::Pijul),
593594
Some(("none", _)) => Some(VersionControl::NoVcs),
594595
Some((s, p)) => {
595596
return Err(internal(format!("invalid configuration for key \

0 commit comments

Comments
 (0)