aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/repository_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/repository_command.rs')
-rw-r--r--crates/shirabe/src/command/repository_command.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/command/repository_command.rs b/crates/shirabe/src/command/repository_command.rs
index c42b70c4..2e9e0020 100644
--- a/crates/shirabe/src/command/repository_command.rs
+++ b/crates/shirabe/src/command/repository_command.rs
@@ -336,7 +336,7 @@ impl Command for RepositoryCommand {
.unwrap()
.insert_repository(
name.as_deref().unwrap(),
- repo_config.clone(),
+ repo_config,
reference_name,
offset,
)?;
@@ -352,7 +352,7 @@ impl Command for RepositoryCommand {
.borrow_mut()
.as_mut()
.unwrap()
- .add_repository(name.as_deref().unwrap(), repo_config.clone(), append)?;
+ .add_repository(name.as_deref().unwrap(), repo_config, append)?;
Ok(0)
}
"remove" | "rm" | "delete" => {