| 326 | } |
| 327 | |
| 328 | int git_column_config(const char *var, const char *value, |
| 329 | const char *command, unsigned int *colopts) |
| 330 | { |
| 331 | const char *it; |
| 332 | |
| 333 | if (!skip_prefix(var, "column.", &it)) |
| 334 | return 0; |
| 335 | |
| 336 | if (!strcmp(it, "ui")) |
| 337 | return column_config(var, value, "ui", colopts); |
| 338 | |
| 339 | if (command && !strcmp(it, command)) |
| 340 | return column_config(var, value, it, colopts); |
| 341 | |
| 342 | return 0; |
| 343 | } |
| 344 | |
| 345 | int parseopt_column_callback(const struct option *opt, |
| 346 | const char *arg, int unset) |
no test coverage detected