MCPcopy Index your code
hub / github.com/git/git / include_by_remote_url

Function include_by_remote_url

config.c:385–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385static int include_by_remote_url(struct config_include_data *inc,
386 const char *cond, size_t cond_len)
387{
388 if (inc->opts->unconditional_remote_url)
389 return 1;
390 if (!inc->remote_urls)
391 populate_remote_urls(inc);
392 return at_least_one_url_matches_glob(cond, cond_len,
393 inc->remote_urls);
394}
395
396static int include_condition_is_true(const struct key_value_info *kvi,
397 struct config_include_data *inc,

Callers 1

Calls 2

populate_remote_urlsFunction · 0.85

Tested by

no test coverage detected