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

Function apply_push_cas

remote.c:2854–2870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2852}
2853
2854void apply_push_cas(struct push_cas_option *cas,
2855 struct remote *remote,
2856 struct ref *remote_refs)
2857{
2858 struct ref *ref;
2859 for (ref = remote_refs; ref; ref = ref->next) {
2860 apply_cas(cas, remote, ref);
2861
2862 /*
2863 * If "compare-and-swap" is in "use_tracking[_for_rest]"
2864 * mode, and if "--force-if-includes" was specified, run
2865 * the check.
2866 */
2867 if (ref->check_reachable)
2868 check_if_includes_upstream(ref);
2869 }
2870}
2871
2872struct remote_state *remote_state_new(void)
2873{

Callers 2

transport_pushFunction · 0.85
cmd_send_packFunction · 0.85

Calls 2

apply_casFunction · 0.85

Tested by

no test coverage detected