| 810 | } |
| 811 | |
| 812 | static void check_write(const struct git_config_source *source) |
| 813 | { |
| 814 | if (!source->file && !startup_info->have_repository) |
| 815 | die(_("not in a git directory")); |
| 816 | |
| 817 | if (source->use_stdin) |
| 818 | die(_("writing to stdin is not supported")); |
| 819 | |
| 820 | if (source->blob) |
| 821 | die(_("writing config blobs is not supported")); |
| 822 | } |
| 823 | |
| 824 | struct urlmatch_current_candidate_value { |
| 825 | char value_is_null; |
no test coverage detected