| 44 | } |
| 45 | |
| 46 | static int diff_algorithm_cb(const struct option *opt, |
| 47 | const char *arg, int unset) |
| 48 | { |
| 49 | xpparam_t *xpp = opt->value; |
| 50 | |
| 51 | BUG_ON_OPT_NEG(unset); |
| 52 | |
| 53 | if (set_diff_algorithm(xpp, arg)) |
| 54 | return error(_("option diff-algorithm accepts \"myers\", " |
| 55 | "\"minimal\", \"patience\" and \"histogram\"")); |
| 56 | |
| 57 | return 0; |
| 58 | } |
| 59 | |
| 60 | int cmd_merge_file(int argc, |
| 61 | const char **argv, |
nothing calls this directly
no test coverage detected