Helper to print git command status.
(self, message: str, git_result: subprocess.CompletedProcess)
| 845 | return None |
| 846 | |
| 847 | def _print_git_status(self, message: str, git_result: subprocess.CompletedProcess) -> None: |
| 848 | """Helper to print git command status.""" |
| 849 | if git_result.returncode != 0: |
| 850 | error_msg = f"{message}: {git_result.stderr}" |
| 851 | print(f" ✗ {error_msg}") |
| 852 | self.warnings.append(error_msg) |
| 853 | |
| 854 | def cleanup_temp_branch(self): |
| 855 | """Clean up temporary branch and restore original branch.""" |
no test coverage detected