| 27 | }; |
| 28 | |
| 29 | static enum missing_commit_check_level get_missing_commit_check_level(void) |
| 30 | { |
| 31 | const char *value; |
| 32 | |
| 33 | if (repo_config_get_value(the_repository, "rebase.missingcommitscheck", &value) || |
| 34 | !strcasecmp("ignore", value)) |
| 35 | return MISSING_COMMIT_CHECK_IGNORE; |
| 36 | if (!strcasecmp("warn", value)) |
| 37 | return MISSING_COMMIT_CHECK_WARN; |
| 38 | if (!strcasecmp("error", value)) |
| 39 | return MISSING_COMMIT_CHECK_ERROR; |
| 40 | warning(_("unrecognized setting %s for option " |
| 41 | "rebase.missingCommitsCheck. Ignoring."), value); |
| 42 | return MISSING_COMMIT_CHECK_IGNORE; |
| 43 | } |
| 44 | |
| 45 | void append_todo_help(int command_count, |
| 46 | const char *shortrevisions, const char *shortonto, |
no test coverage detected