Skip to content

Commit

Permalink
cli: workspace: Drop auto maintainer detection
Browse files Browse the repository at this point in the history
It is broken.
Not working on my machine.
  • Loading branch information
xtexChooser committed Jan 17, 2025
1 parent b64cc00 commit 4abd576
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cli/src/actions/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ pub fn list_instances() -> Result<()> {

pub fn new_workspace(args: &ArgMatches) -> Result<()> {
let mut config = WorkspaceConfig::default();

let gitconfig = git2::Config::open_default()?;
if let Ok(name) = gitconfig.get_string("user.name") {
if let Ok(email) = gitconfig.get_string("user.email") {
config.maintainer = format!("{} <{}>", name, email);
}
}
let mut arch = args.get_one::<String>("arch").cloned();

patch_workspace_config(args, &mut config)?;
Expand Down

0 comments on commit 4abd576

Please sign in to comment.