* returns 1 if and only if all graphs in the chain have * corrected commit dates stored in the generation_data chunk. */
| 522 | * corrected commit dates stored in the generation_data chunk. |
| 523 | */ |
| 524 | static int validate_mixed_generation_chain(struct commit_graph *g) |
| 525 | { |
| 526 | int read_generation_data = 1; |
| 527 | struct commit_graph *p = g; |
| 528 | |
| 529 | while (read_generation_data && p) { |
| 530 | read_generation_data = p->read_generation_data; |
| 531 | p = p->base_graph; |
| 532 | } |
| 533 | |
| 534 | if (read_generation_data) |
| 535 | return 1; |
| 536 | |
| 537 | while (g) { |
| 538 | g->read_generation_data = 0; |
| 539 | g = g->base_graph; |
| 540 | } |
| 541 | |
| 542 | return 0; |
| 543 | } |
| 544 | |
| 545 | static void validate_mixed_bloom_settings(struct commit_graph *g) |
| 546 | { |
no outgoing calls
no test coverage detected