MCPcopy Create free account
hub / github.com/git/git / write_config

Function write_config

builtin/clone.c:782–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782static void write_config(struct string_list *config)
783{
784 int i;
785
786 for (i = 0; i < config->nr; i++) {
787 if (git_config_parse_parameter(config->items[i].string,
788 write_one_config, NULL) < 0)
789 die(_("unable to write parameters to config file"));
790 }
791}
792
793static void write_refspec_config(const char *src_ref_prefix,
794 const struct ref *our_head_points_at,

Callers 1

cmd_cloneFunction · 0.85

Calls 2

dieFunction · 0.50

Tested by

no test coverage detected