| 1020 | } |
| 1021 | |
| 1022 | static enum bisect_error bisect_log(void) |
| 1023 | { |
| 1024 | int fd, status; |
| 1025 | const char* filename = git_path_bisect_log(); |
| 1026 | |
| 1027 | if (is_empty_or_missing_file(filename)) |
| 1028 | return error(_("We are not bisecting.")); |
| 1029 | |
| 1030 | fd = open(filename, O_RDONLY); |
| 1031 | if (fd < 0) |
| 1032 | return BISECT_FAILED; |
| 1033 | |
| 1034 | status = copy_fd(fd, STDOUT_FILENO); |
| 1035 | close(fd); |
| 1036 | return status ? BISECT_FAILED : BISECT_OK; |
| 1037 | } |
| 1038 | |
| 1039 | static int process_replay_line(struct bisect_terms *terms, struct strbuf *line) |
| 1040 | { |
no test coverage detected