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,
|
||||
name: self.name,
|
||||
silent: self.yes,
|
||||
vcs: Some(cargo_generate::Vcs::Git),
|
||||
template_path: TemplatePath {
|
||||
auto_path: self.template,
|
||||
branch: self.branch,
|
||||
revision: self.revision,
|
||||
subfolder: self.subtemplate,
|
||||
tag: self.tag,
|
||||
|
||||
..Default::default()
|
||||
},
|
||||
verbose: crate::logging::VERBOSITY
|
||||
|
||||
@@ -64,6 +64,7 @@ impl Init {
|
||||
init: true,
|
||||
name: self.name,
|
||||
silent: self.yes,
|
||||
vcs: Some(cargo_generate::Vcs::Git),
|
||||
template_path: TemplatePath {
|
||||
auto_path: self.template,
|
||||
branch: self.branch,
|
||||
|
||||
Reference in new issue
Block a user