remove reference

main
Mathias Rothenhaeusler 2025-03-14 10:55:13 +01:00
parent 758dbfa942
commit 649c08ad4b
1 changed files with 2 additions and 2 deletions

View File

@ -14,13 +14,13 @@ pub fn toggle_index(start: bool, config: &DevToolsConf) -> Result<(), Box<dyn st
); );
Command::new("git") Command::new("git")
.current_dir(&config.project_dir_as_string()) .current_dir(config.project_dir_as_string())
.args(["update-index", change, &project_path]) .args(["update-index", change, &project_path])
.status()?; .status()?;
if !start { if !start {
Command::new("git") Command::new("git")
.current_dir(&config.project_dir_as_string()) .current_dir(config.project_dir_as_string())
.args(["checkout", &project_path]) .args(["checkout", &project_path])
.status()?; .status()?;
} }