| 531 | } |
| 532 | |
| 533 | static void warn_multiple_config(const struct object_id *treeish_name, |
| 534 | const char *name, const char *option) |
| 535 | { |
| 536 | const char *commit_string = "WORKTREE"; |
| 537 | if (treeish_name) |
| 538 | commit_string = oid_to_hex(treeish_name); |
| 539 | warning("%s:.gitmodules, multiple configurations found for " |
| 540 | "'submodule.%s.%s'. Skipping second one!", |
| 541 | commit_string, name, option); |
| 542 | } |
| 543 | |
| 544 | static void warn_command_line_option(const char *var, const char *value) |
| 545 | { |
no test coverage detected