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

Function pushremote_for_branch

remote.c:708–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708const char *pushremote_for_branch(struct branch *branch, int *explicit)
709{
710 read_config(the_repository, 0);
711 die_on_missing_branch(the_repository, branch);
712
713 return remotes_pushremote_for_branch(the_repository->remote_state,
714 branch, explicit);
715}
716
717static struct remote *remotes_remote_get(struct repository *repo,
718 const char *name);

Callers 1

fill_remote_ref_detailsFunction · 0.85

Calls 3

read_configFunction · 0.85
die_on_missing_branchFunction · 0.85

Tested by

no test coverage detected