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

Function remote_is_configured

remote.c:856–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854}
855
856int remote_is_configured(struct remote *remote, int in_repo)
857{
858 if (!remote)
859 return 0;
860 if (in_repo)
861 return remote->configured_in_repo;
862 return !!remote->origin;
863}
864
865int for_each_remote(each_remote_fn fn, void *priv)
866{

Callers 8

add_remote_or_groupFunction · 0.85
fetch_oneFunction · 0.85
addFunction · 0.85
mvFunction · 0.85
rmFunction · 0.85
set_remote_branchesFunction · 0.85
get_urlFunction · 0.85
set_urlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected