use vcs when dx new (#4199)
This commit is contained in:
1 parent
3c3256ec02
commit
bb0621fa1b
2 files changed
+3
No files matched your search
@@ -72,12 +72,14 @@ impl Create {
|
|||||||
init: true,
|
init: true,
|
||||||
name: self.name,
|
name: self.name,
|
||||||
silent: self.yes,
|
silent: self.yes,
|
||||||
|
vcs: Some(cargo_generate::Vcs::Git),
|
||||||
template_path: TemplatePath {
|
template_path: TemplatePath {
|
||||||
auto_path: self.template,
|
auto_path: self.template,
|
||||||
branch: self.branch,
|
branch: self.branch,
|
||||||
revision: self.revision,
|
revision: self.revision,
|
||||||
subfolder: self.subtemplate,
|
subfolder: self.subtemplate,
|
||||||
tag: self.tag,
|
tag: self.tag,
|
||||||
|
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
verbose: crate::logging::VERBOSITY
|
verbose: crate::logging::VERBOSITY
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ impl Init {
|
|||||||
init: true,
|
init: true,
|
||||||
name: self.name,
|
name: self.name,
|
||||||
silent: self.yes,
|
silent: self.yes,
|
||||||
|
vcs: Some(cargo_generate::Vcs::Git),
|
||||||
template_path: TemplatePath {
|
template_path: TemplatePath {
|
||||||
auto_path: self.template,
|
auto_path: self.template,
|
||||||
branch: self.branch,
|
branch: self.branch,
|
||||||
|
|||||||
Reference in new issue
Block a user