MCPcopy Create free account
hub / github.com/git/git / bisect_log

Function bisect_log

builtin/bisect.c:1022–1037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020}
1021
1022static 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
1039static int process_replay_line(struct bisect_terms *terms, struct strbuf *line)
1040{

Callers 1

cmd_bisect__logFunction · 0.85

Calls 3

is_empty_or_missing_fileFunction · 0.85
errorFunction · 0.85
copy_fdFunction · 0.85

Tested by

no test coverage detected