Remove the worktree of the branch.
(config: EvoGitConfig, worktree: str)
| 551 | |
| 552 | |
| 553 | def remove_temp_worktree(config: EvoGitConfig, worktree: str) -> None: |
| 554 | """Remove the worktree of the branch.""" |
| 555 | subprocess.run( |
| 556 | ["git", "worktree", "remove", "-f", worktree], |
| 557 | cwd=config.git_dir, |
| 558 | check=True, |
| 559 | ) |
| 560 | |
| 561 | |
| 562 | def cleanup_temp_worktrees(config: EvoGitConfig) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected