(git_path_bisect_ancestors_ok, "BISECT_ANCESTORS_OK")
| 482 | } |
| 483 | |
| 484 | static GIT_PATH_FUNC(git_path_bisect_names, "BISECT_NAMES") |
| 485 | static GIT_PATH_FUNC(git_path_bisect_ancestors_ok, "BISECT_ANCESTORS_OK") |
| 486 | static GIT_PATH_FUNC(git_path_bisect_run, "BISECT_RUN") |
| 487 | static GIT_PATH_FUNC(git_path_bisect_start, "BISECT_START") |
| 488 | static GIT_PATH_FUNC(git_path_bisect_log, "BISECT_LOG") |
| 489 | static GIT_PATH_FUNC(git_path_bisect_terms, "BISECT_TERMS") |
| 490 | static GIT_PATH_FUNC(git_path_bisect_first_parent, "BISECT_FIRST_PARENT") |
| 491 | |
| 492 | static void read_bisect_paths(struct strvec *array) |
| 493 | { |
| 494 | struct strbuf str = STRBUF_INIT; |
| 495 | const char *filename = git_path_bisect_names(); |
| 496 | FILE *fp = xfopen(filename, "r"); |
| 497 | |
| 498 | while (strbuf_getline_lf(&str, fp) != EOF) { |
| 499 | strbuf_trim(&str); |
| 500 | if (sq_dequote_to_strvec(str.buf, array)) |
| 501 | die(_("Badly quoted content in file '%s': %s"), |
| 502 | filename, str.buf); |
| 503 | } |
| 504 | |
| 505 | strbuf_release(&str); |
| 506 | fclose(fp); |
no test coverage detected