Get the current commit hash.
(self)
| 186 | self.logger.debug("No patch to apply, skipping") |
| 187 | return |
| 188 | |
| 189 | create_file_in_container( |
| 190 | container=self.environment, # type: ignore |
| 191 | content=patch, |
| 192 | dest_path="tmp_patch.txt", |
| 193 | ) |
| 194 | |
| 195 | commands = ["git status", "git apply tmp_patch.txt", "rm -f tmp_patch.txt"] |
| 196 | cmd = " && ".join(commands) |
| 197 | self.logger.debug(f"Executing command: {cmd}") |
no test coverage detected