summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index e02be3e..56cd729 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -62,8 +62,7 @@ fn run_command(user_input: String) -> Result<ControlFlow<(), ()>, ShackleError>
command.arg("advertise-refs");
}
- // TODO: This should definitely be part of the arg parsing!
- command.arg(&upload_pack_args.directory.trim_matches('\''));
+ command.arg(&upload_pack_args.directory);
command.spawn()?.wait()?;
}
@@ -74,8 +73,7 @@ fn run_command(user_input: String) -> Result<ControlFlow<(), ()>, ShackleError>
command.arg("--http-backend-info-refs");
}
- // TODO: This should definitely be part of the arg parsing!
- command.arg(&receive_pack_args.directory.trim_matches('\''));
+ command.arg(&receive_pack_args.directory);
command.spawn()?.wait()?;
}