forked from mirrors/jj
cleanup: fix a Clippy warning about an unnecessary to_path_buf()
This commit is contained in:
parent
f6ba34f3c3
commit
16c68ab821
1 changed files with 1 additions and 1 deletions
|
@ -1746,7 +1746,7 @@ fn cmd_init(ui: &mut Ui, command: &CommandHelper, args: &ArgMatches) -> Result<(
|
||||||
git_store_path = PathBuf::from("..")
|
git_store_path = PathBuf::from("..")
|
||||||
.join("..")
|
.join("..")
|
||||||
.join("..")
|
.join("..")
|
||||||
.join(relative_path.to_path_buf());
|
.join(relative_path);
|
||||||
}
|
}
|
||||||
let (workspace, repo) =
|
let (workspace, repo) =
|
||||||
Workspace::init_external_git(ui.settings(), wc_path.clone(), git_store_path)?;
|
Workspace::init_external_git(ui.settings(), wc_path.clone(), git_store_path)?;
|
||||||
|
|
Loading…
Reference in a new issue