| 3000 | } |
| 3001 | |
| 3002 | static void todo_list_write_total_nr(struct todo_list *todo_list) |
| 3003 | { |
| 3004 | FILE *f = fopen_or_warn(rebase_path_msgtotal(), "w"); |
| 3005 | |
| 3006 | if (f) { |
| 3007 | fprintf(f, "%d\n", todo_list->total_nr); |
| 3008 | fclose(f); |
| 3009 | } |
| 3010 | } |
| 3011 | |
| 3012 | static int read_populate_todo(struct repository *r, |
| 3013 | struct todo_list *todo_list, |
no test coverage detected