use vcs when dx new (#4199)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-05-25 17:25:32 +01:00
1 parent 3c3256ec02
commit bb0621fa1b
2 files changed
+3

No files matched your search

+2
View File
@@ -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
+1
View File
@@ -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,