projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd5b980
)
Added "pijul" as a config key for cargo-new.vcs in .cargo/config
author
Lars Mühmel
<larsmuehmel@web.de>
Sun, 4 Feb 2018 13:06:03 +0000
(14:06 +0100)
committer
Lars Mühmel
<larsmuehmel@web.de>
Sun, 4 Feb 2018 13:06:03 +0000
(14:06 +0100)
src/cargo/ops/cargo_new.rs
patch
|
blob
|
history
diff --git
a/src/cargo/ops/cargo_new.rs
b/src/cargo/ops/cargo_new.rs
index c0d751d38e453f906d865d63f776d25a4827de96..e86bdaabd1bd5e0a0f7485fe66cc465fead5b227 100644
(file)
--- a/
src/cargo/ops/cargo_new.rs
+++ b/
src/cargo/ops/cargo_new.rs
@@
-590,6
+590,7
@@
fn global_config(config: &Config) -> CargoResult<CargoNewConfig> {
let vcs = match vcs.as_ref().map(|p| (&p.val[..], &p.definition)) {
Some(("git", _)) => Some(VersionControl::Git),
Some(("hg", _)) => Some(VersionControl::Hg),
+ Some(("pijul", _)) => Some(VersionControl::Pijul),
Some(("none", _)) => Some(VersionControl::NoVcs),
Some((s, p)) => {
return Err(internal(format!("invalid configuration for key \