Open a new git repository instance (for thread-local use).
(&self)
| 4234 | |
| 4235 | /// Open a new git repository instance (for thread-local use). |
| 4236 | fn open_git_repo(&self) -> CliResult<GitRepository> { |
| 4237 | GitRepository::open(&self.git_repo_path).map_err(|e| CliError::GitError { |
| 4238 | message: format!("Failed to open git repository: {}", e), |
| 4239 | }) |
| 4240 | } |
| 4241 | |
| 4242 | pub(crate) fn validate_branch_prospectively( |
| 4243 | &self, |
no test coverage detected